Addinf dejavu ttf
authorJens Muecke <jens@nons.de>
Thu, 8 May 2008 21:29:49 +0000 (21:29 +0000)
committerJens Muecke <jens@nons.de>
Thu, 8 May 2008 21:29:49 +0000 (21:29 +0000)
SVN-Revision: 11085

XOrg/font/dejavu-fonts-ttf/Makefile [new file with mode: 0644]
XOrg/font/packages

diff --git a/XOrg/font/dejavu-fonts-ttf/Makefile b/XOrg/font/dejavu-fonts-ttf/Makefile
new file mode 100644 (file)
index 0000000..d0f9c4c
--- /dev/null
@@ -0,0 +1,42 @@
+# 
+# Copyright (C) 2008 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_BASE_NAME:=font
+PKG_NAME:=dejavu-fonts-ttf
+PKG_RELEASE:=1
+PKG_VERSION:=2.23
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
+PKG_SOURCE_URL:=@SF/dejavu
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/dejavu-fonts-ttf
+  SECTION:=xorg-font
+  CATEGORY:=Xorg
+  SUBMENU:=font
+  DEPENDS:= @DISPLAY_SUPPORT
+  TITLE:=dejavu-fonts-ttf
+  URL:=http://dejavu.sourceforge.net/
+endef
+
+define Build/Compile
+       echo
+endef
+
+define Build/Configure
+       echo
+endef
+
+define Package/dejavu-fonts-ttf/install
+       $(INSTALL_DIR) $(1)/usr/share/fonts/ttf-dejavu
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/ttf/*.ttf $(1)/usr/share/fonts/ttf-dejavu
+endef
+
+$(eval $(call BuildPackage,dejavu-fonts-ttf))
+
index 87b66b5..9a976e2 100644 (file)
@@ -1,3 +1,4 @@
+dejavu-fonts-ttf-2.23|
 encodings-X11R7.2-1.0.2|
 font-xfree86-type1-X11R7.0-1.0.0|
 font-cursor-misc-X11R7.0-1.0.0|