Commit 20cfc871 authored by Peter Seiderer's avatar Peter Seiderer Committed by Peter Korsgaard
Browse files

ghostscript-fonts: new package

parent c6abdd97
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -261,6 +261,7 @@ comment "X applications"

comment "X libraries and helper libraries"
	source "package/dejavu/Config.in"
	source "package/ghostscript-fonts/Config.in"
	source "package/liberation/Config.in"
	source "package/libsexy/Config.in"
	source "package/x11r7/xkeyboard-config/Config.in"
+8 −0
Original line number Diff line number Diff line
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
+21 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))