diff options
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.02.bb')
| -rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.02.bb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb index e3d32ddab4..3cb5485d24 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb | |||
| @@ -15,17 +15,20 @@ SECTION = "console/utils" | |||
| 15 | LICENSE = "GPLv3" | 15 | LICENSE = "GPLv3" |
| 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" |
| 17 | 17 | ||
| 18 | PR = "r1" | 18 | PR = "r2" |
| 19 | 19 | ||
| 20 | DEPENDS = "${PN}-native tiff jpeg fontconfig cups" | 20 | DEPENDS = "${PN}-native tiff jpeg fontconfig cups" |
| 21 | DEPENDS_virtclass-native = "" | 21 | DEPENDS_virtclass-native = "" |
| 22 | 22 | ||
| 23 | SRC_URI = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2 \ | 23 | SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2" |
| 24 | |||
| 25 | SRC_URI = "${SRC_URI_BASE} \ | ||
| 24 | file://ghostscript-9.02-prevent_recompiling.patch \ | 26 | file://ghostscript-9.02-prevent_recompiling.patch \ |
| 25 | file://ghostscript-9.02-genarch.patch \ | 27 | file://ghostscript-9.02-genarch.patch \ |
| 26 | file://objarch.h \ | 28 | file://objarch.h \ |
| 27 | file://soobjarch.h \ | 29 | file://soobjarch.h \ |
| 28 | " | 30 | " |
| 31 | SRC_URI_virtclass-native = "${SRC_URI_BASE}" | ||
| 29 | 32 | ||
| 30 | SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" | 33 | SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" |
| 31 | SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" | 34 | SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" |
| @@ -34,14 +37,12 @@ EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-j | |||
| 34 | 37 | ||
| 35 | inherit autotools | 38 | inherit autotools |
| 36 | 39 | ||
| 37 | do_configure_prepend () { | ||
| 38 | mkdir -p obj | ||
| 39 | mkdir -p soobj | ||
| 40 | cp ${WORKDIR}/objarch.h obj/arch.h | ||
| 41 | cp ${WORKDIR}/soobjarch.h soobj/arch.h | ||
| 42 | } | ||
| 43 | |||
| 44 | do_configure () { | 40 | do_configure () { |
| 41 | mkdir -p obj | ||
| 42 | mkdir -p soobj | ||
| 43 | cp ${WORKDIR}/objarch.h obj/arch.h | ||
| 44 | cp ${WORKDIR}/soobjarch.h soobj/arch.h | ||
| 45 | |||
| 45 | oe_runconf | 46 | oe_runconf |
| 46 | 47 | ||
| 47 | # copy tools from the native ghostscript build | 48 | # copy tools from the native ghostscript build |
