From 38419263f6033f1ac086f27d80136eb030c9cb4f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 6 Oct 2016 20:06:28 +0200 Subject: add liberation truetype font package and add mkfontscale check, complete the other font checks --- package/liberation-fonts-ttf/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/liberation-fonts-ttf/Makefile (limited to 'package') 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 -- cgit v1.2.3