[oe-commits] org.oe.dev espgs_8.15.3.bb: Add new .bb from Bugzilla, courtesy of Alex Ferguson and hrw. Closing bug #1843. Thanks!
coredump2 commit
openembedded-commits at lists.openembedded.org
Sat Mar 3 20:41:15 UTC 2007
espgs_8.15.3.bb: Add new .bb from Bugzilla, courtesy of Alex Ferguson and hrw. Closing bug #1843. Thanks!
Author: coredump2 at openembedded.org
Branch: org.openembedded.dev
Revision: a70015f68eeecf2b161950d5303fb37f7f80be75
ViewMTN: http://monotone.openembedded.org/revision.psp?id=a70015f68eeecf2b161950d5303fb37f7f80be75
Files:
1
packages/espgs/espgs_8.15.3.bb
Diffs:
#
# mt diff -r3461d66db39a366d42f2cdbe1ef4e06a66824065 -ra70015f68eeecf2b161950d5303fb37f7f80be75
#
#
#
# add_file "packages/espgs/espgs_8.15.3.bb"
# content [15c8fbb3bb09a6f58519c29dcb6c06b9a5bad084]
#
============================================================
--- packages/espgs/espgs_8.15.3.bb 15c8fbb3bb09a6f58519c29dcb6c06b9a5bad084
+++ packages/espgs/espgs_8.15.3.bb 15c8fbb3bb09a6f58519c29dcb6c06b9a5bad084
@@ -0,0 +1,45 @@
+DESCRIPTION = "ESP Ghostscript is an up-to-date GNU Ghostscript distribution \
+including bug fixes, new drivers, and additional support for CUPS."
+HOMEPAGE = "http://www.cups.org/espgs/"
+SECTION = "libs"
+DEPENDS = "jpeg zlib libpng fontconfig"
+LICENSE = "GPL"
+
+SRC_URI = "http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/ghostscript/${PV}/espgs-${PV}-source.tar.bz2"
+S = "${WORKDIR}/espgs-${PV}"
+
+PARALLEL_MAKE = ""
+
+inherit autotools
+
+PACKAGES += "espgs-examples espgs-resources"
+
+# I added the lib dir to the central package, since espgs complained of a missing file when run.
+# If I find exactly which files are needed for operation, I'll just add those, and split the package.
+
+FILES_${PN} += "${datadir}/ghostscript/8.15/lib/*"
+FILES_${PN}-doc += "${datadir}/ghostscript/8.15/doc/*"
+FILES_${PN}-examples += "${datadir}/ghostscript/8.15/examples/*"
+FILES_${PN}-resources += "${datadir}/ghostscript/8.15/Resource/*"
+
+EXTRA_OECONF = "--with-drivers= \
+ --disable-cups \
+ --disable-gtk \
+ --without-ijs \
+ --without-gimp-print \
+ --without-x \
+ --without-omni"
+
+do_compile() {
+ oe_runmake CCAUX="${BUILD_CC}"
+}
+
+do_install () {
+ oe_runmake 'prefix=${D}${prefix}' \
+ 'bindir=${D}${bindir}' \
+ 'datadir=${D}${datadir}' \
+ 'gsdir=${D}${datadir}/ghostscript' \
+ 'gsdatadir=${D}${datadir}/ghostscript/8.15' \
+ 'mandir=${D}${mandir}' \
+ 'docdir=${D}${datadir}/doc/espgs/' install
+}
More information about the Openembedded-commits
mailing list