summaryrefslogtreecommitdiff
path: root/unifont/Makefile
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
committerDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
commit4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch)
tree58590463ada82a27eca0889312c32450358249a8 /unifont/Makefile
downloadqipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386.
Diffstat (limited to 'unifont/Makefile')
-rw-r--r--unifont/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/unifont/Makefile b/unifont/Makefile
new file mode 100644
index 0000000..1f95dab
--- /dev/null
+++ b/unifont/Makefile
@@ -0,0 +1,43 @@
+#
+# OpenWrt
+#
+# This is free software, licensed under the GNU General Public License v2.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=unifont
+PKG_VERSION:=5.1.20080820
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).pcf.gz
+PKG_SOURCE_URL:=http://unifoundry.com/
+PKG_MD5SUM:=8c28087c5fcb3188f1244b390efffdbe
+
+include $(INCLUDE_DIR)/package.mk
+PKG_UNPACK:=$(CP) $(DL_DIR)/$(PKG_SOURCE) $(PKG_BUILD_DIR)
+
+define Package/unifont
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=GNU Unifont
+ URL:=http://unifoundry.com/unifont.html
+endef
+
+define Package/unifont/description
+ GNU Unifont, with glyphs for every printable code point in the Unicode 5.1 Basic Multilingual Plane (BMP).
+endef
+
+define Build/Compile
+endef
+
+define Package/unifont/install
+ $(INSTALL_DIR) \
+ $(1)/usr/share/fonts
+
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/$(PKG_SOURCE) \
+ $(1)/usr/share/fonts/unifont.pcf.gz
+endef
+
+$(eval $(call BuildPackage,unifont))