diff options
author | Mirko Vogt <mirko-dev@nanl.de> | 2017-02-13 20:09:40 +0100 |
---|---|---|
committer | Mirko Vogt <mirko-dev@nanl.de> | 2017-02-13 20:14:43 +0100 |
commit | c7dca5a962dc7ca7fb65d83584d8ea6a576c944d (patch) | |
tree | 5bdb82b4b22fd9fee1e3a4016023167f6ae5aff3 /fonts | |
parent | c7197cc35c4dfd3af2f4423ca465e74d0b7266f3 (diff) |
package dejavu fonts
Signed-off-by: Mirko Vogt <mirko-dev@nanl.de>
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/dejavu-fonts-ttf/Makefile | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/fonts/dejavu-fonts-ttf/Makefile b/fonts/dejavu-fonts-ttf/Makefile new file mode 100644 index 000000000..7a0885c91 --- /dev/null +++ b/fonts/dejavu-fonts-ttf/Makefile @@ -0,0 +1,81 @@ +# +# Copyright (C) 2008-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=dejavu-fonts-ttf +PKG_VERSION:=2.37 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=@SF/dejavu +PKG_HASH:=fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7 + +include $(INCLUDE_DIR)/package.mk + +FILES:= \ + DejaVuSerif-Italic \ + DejaVuSerifCondensed-Italic \ + DejaVuSerifCondensed-BoldItalic \ + DejaVuSerifCondensed-Bold \ + DejaVuSerifCondensed \ + DejaVuSerif-BoldItalic \ + DejaVuSerif-Bold \ + DejaVuSerif \ + DejaVuSans-Oblique \ + DejaVuSansMono-Oblique \ + DejaVuSansMono-BoldOblique \ + DejaVuSansMono-Bold \ + DejaVuSansMono \ + DejaVuSans-ExtraLight \ + DejaVuSansCondensed-Oblique \ + DejaVuSansCondensed-BoldOblique \ + DejaVuSansCondensed-Bold \ + DejaVuSansCondensed \ + DejaVuSans-BoldOblique \ + DejaVuSans-Bold \ + DejaVuSans \ + DejaVuMathTeXGyre + +define PartGen +define Package/dejavu-fonts-ttf-$(1) +$(call Package/dejavu-fonts-ttf/Default) + TITLE:=$(1) +endef +endef + +define Package/dejavu-fonts-ttf/Default + TITLE:=dejavu-fonts-ttf + SECTION:=fonts + CATEGORY:=Fonts + SUBMENU:=DejaVu + URL:=http://dejavu.sourceforge.net/ +endef + +$(foreach file,$(FILES),$(eval $(call PartGen,$(file)))) + +define Build/Compile + true +endef + +define Build/Configure + true +endef + +define PartInstall +define Package/dejavu-fonts-ttf-$(1)/install + $(INSTALL_DIR) \ + $$(1)/usr/share/fonts/ttf-dejavu + + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ttf/$(1).ttf \ + $$(1)/usr/share/fonts/ttf-dejavu/ +endef +endef + +$(foreach file,$(FILES),$(eval $(call PartInstall,$(file)))) + +$(foreach file,$(FILES),$(eval $(call BuildPackage,dejavu-fonts-ttf-$(file)))) |