summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-06 20:06:28 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-06 20:06:28 +0200
commit38419263f6033f1ac086f27d80136eb030c9cb4f (patch)
tree9c6ce13c444632b34c467d47747947f2474ab708 /package
parent48f0e5e16de67b3870e5f3f05956978f925c2efe (diff)
add liberation truetype font package and add mkfontscale check, complete the other font checks
Diffstat (limited to 'package')
-rw-r--r--package/liberation-fonts-ttf/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/liberation-fonts-ttf/Makefile b/package/liberation-fonts-ttf/Makefile
new file mode 100644
index 000000000..944b0448a
--- /dev/null
+++ b/package/liberation-fonts-ttf/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= liberation-fonts-ttf
+PKG_VERSION:= 2.00.1
+PKG_RELEASE:= 1
+PKG_HASH:= 7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504
+PKG_DESCR:= free fonts compatible to msttfonts
+PKG_SECTION:= x11/fonts
+PKG_URL:= https://fedorahosted.org/liberation-fonts/
+PKG_SITES:= https://fedorahosted.org/releases/l/i/liberation-fonts/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBERATION_FONTS_TTF,liberation-fonts-ttf,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+liberation-fonts-ttf-install:
+ $(INSTALL_DIR) $(IDIR_LIBERATION_FONTS_TTF)/usr/share/fonts/truetype/liberation
+ $(CP) $(WRKSRC)/*.ttf $(IDIR_LIBERATION_FONTS_TTF)/usr/share/fonts/truetype/liberation
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk