aboutsummaryrefslogtreecommitdiff
path: root/package/ghostscript-fonts
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2014-09-22 21:34:23 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-02-03 17:04:54 +0100
commit20cfc871fba4d447e46ec8092f58b8888cf5a73c (patch)
treebba1787f83618048ff8301780653568ee9c0f8cb /package/ghostscript-fonts
parentc6abdd97a1b6bd7e943e0ea04e99ad509abcbe1a (diff)
downloadbuildroot-20cfc871fba4d447e46ec8092f58b8888cf5a73c.tar.gz
buildroot-20cfc871fba4d447e46ec8092f58b8888cf5a73c.tar.bz2
ghostscript-fonts: new package
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ghostscript-fonts')
-rw-r--r--package/ghostscript-fonts/Config.in8
-rw-r--r--package/ghostscript-fonts/ghostscript-fonts.mk21
2 files changed, 29 insertions, 0 deletions
diff --git a/package/ghostscript-fonts/Config.in b/package/ghostscript-fonts/Config.in
new file mode 100644
index 0000000000..80bfbd03ef
--- /dev/null
+++ b/package/ghostscript-fonts/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_GHOSTSCRIPT_FONTS
+ bool "ghostscript-fonts"
+ help
+ Fonts and font metrics customarily distributed with Ghostscript.
+ Currently includes the 35 standard PostScript fonts and a
+ grab-bag of others.
+
+ http://sourceforge.net/projects/gs-fonts
diff --git a/package/ghostscript-fonts/ghostscript-fonts.mk b/package/ghostscript-fonts/ghostscript-fonts.mk
new file mode 100644
index 0000000000..fa5c4b7e97
--- /dev/null
+++ b/package/ghostscript-fonts/ghostscript-fonts.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# ghostscript-fonts
+#
+################################################################################
+
+GHOSTSCRIPT_FONTS_VERSION = 8.11
+GHOSTSCRIPT_FONTS_SITE = http://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29
+GHOSTSCRIPT_FONTS_SOURCE = ghostscript-fonts-std-$(GHOSTSCRIPT_FONTS_VERSION).tar.gz
+GHOSTSCRIPT_FONTS_LICENSE = GPLv2
+GHOSTSCRIPT_FONTS_LICENSE_FILES = COPYING
+
+GHOSTSCRIPT_FONTS_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/gs
+
+define GHOSTSCRIPT_FONTS_INSTALL_TARGET_CMDS
+ mkdir -p $(GHOSTSCRIPT_FONTS_TARGET_DIR)
+ $(INSTALL) -m 644 $(@D)/*.afm $(GHOSTSCRIPT_FONTS_TARGET_DIR)
+ $(INSTALL) -m 644 $(@D)/*.pfb $(GHOSTSCRIPT_FONTS_TARGET_DIR)
+endef
+
+$(eval $(generic-package))