diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2009-07-10 14:49:27 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2009-07-13 10:59:09 -0300 |
commit | 43f8a1989aa709749ce9aedd4feba6c4f6306925 (patch) | |
tree | 0835b21fede8d61f9c2c2c4bd68913eb516f460b /recipes/gs/gs_8.64.bb | |
parent | a41c726ede88bd70b0428481819097489d728bf3 (diff) |
gs: add 8.64
This has based in Debian's 8.64~dfsg-12 package and all patches has
been taken from it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/gs/gs_8.64.bb')
-rw-r--r-- | recipes/gs/gs_8.64.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/recipes/gs/gs_8.64.bb b/recipes/gs/gs_8.64.bb new file mode 100644 index 0000000000..37f0af1b42 --- /dev/null +++ b/recipes/gs/gs_8.64.bb @@ -0,0 +1,54 @@ +DESCRIPTION = "An interpreter of the Postscript language" +LICENSE = "GPL" +SECTION = "console/utils" +HOMEPAGE = "http://www.gnu.org/software/ghostscript/ghostscript.html" +DEPENDS = "jpeg zlib fontconfig cups" +PR = "r2" + +SRC_URI = "${DEBIAN_MIRROR}/main/g/ghostscript/ghostscript_${PV}~dfsg.orig.tar.gz \ + file://0001_svn_snapshot.patch;patch=1 \ + file://0002_svn_snapshot_jbig2dec.patch;patch=1 \ + file://1001_install_cjk_examples.patch;patch=1 \ + file://1002_ps2pdf_man_fix.patch;patch=1 \ + file://1003_fix_autoconf_create_from_infiles.patch;patch=1 \ + file://1004_CVE-2009-0792_CVE-2009-0584_CVE-2009-0583.patch;patch=1 \ + file://1006_system-jasper.patch;patch=1 \ + file://1007_fix_pphs_script_not_lib.patch;patch=1 \ + file://2001_docdir_fix_for_debian.patch;patch=1 \ + file://2002_gs_man_fix_debian.patch;patch=1 \ + " + +S = "${WORKDIR}/ghostscript-${PV}~dfsg" + +inherit autotools + +EXTRA_OECONF = "--without-x --with-jasper --with-zlib=${STAGING_DIR_HOST}${layout_prefix}" + +PACKAGES += "cups-gs" + +do_configure() { + # hack script to allow for cross compiling + sed 's,&& ./configure$,& --host=\$host --build=\$build --target=\$target,g' -i configure + + gnu-configize + oe_runconf +} + +do_stage () { + install -d ${STAGING_INCDIR}/ghostscript + install -m 755 ${S}/psi/*.h ${STAGING_INCDIR}/ghostscript/ + oe_libinstall -so -C sobin libgs ${STAGING_LIBDIR} +} + +do_compile_append () { + oe_runmake so +} + +do_install_append () { + oe_runmake 'DESTDIR=${D}' soinstall +} + +FILES_${PN} += "${datadir}/ghostscript" +FILES_cups-gs = "${libdir}/cups/filter/* ${datadir}/cups ${sysconfdir}/cups" + +RDEPENDS_cups-gs += "gs" |