浏览代码

add new packages mkfontdir and mkfontscale

Waldemar Brodkorb 14 年之前
父节点
当前提交
16d7827ef1
共有 2 个文件被更改,包括 47 次插入0 次删除
  1. 23 0
      package/mkfontdir/Makefile
  2. 24 0
      package/mkfontscale/Makefile

+ 23 - 0
package/mkfontdir/Makefile

@@ -0,0 +1,23 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		mkfontdir
+PKG_VERSION:=		1.0.6
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		d13d01127f88eb50f5c6c3d47ae585e5
+PKG_DESCR:=		font utility
+PKG_SECTION:=		x11/apps
+PKG_SITES:=		http://www.x.org/releases/X11R7.6/src/everything/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MKFONTDIR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+	$(INSTALL_DIR) $(IDIR_MKFONTDIR)/usr/bin
+	$(INSTALL_BIN) $(WRKINST)/usr/bin/mkfontdir \
+		$(IDIR_MKFONTDIR)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 24 - 0
package/mkfontscale/Makefile

@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		mkfontscale
+PKG_VERSION:=		1.0.8
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		ae166427657f6f31183b2e4378231110
+PKG_DESCR:=		font utility
+PKG_SECTION:=		x11/apps
+PKG_BUILDDEP:=		freetype libfontenc
+PKG_SITES:=		http://www.x.org/releases/X11R7.6/src/everything/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MKFONTSCALE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+	$(INSTALL_DIR) $(IDIR_MKFONTSCALE)/usr/bin
+	$(INSTALL_BIN) $(WRKINST)/usr/bin/mkfontscale \
+		$(IDIR_MKFONTSCALE)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk