diff --git a/extends-oe-core/ghostscript%.bbappend b/extends-oe-core/ghostscript%.bbappend new file mode 100644 index 00000000..15b0e861 --- /dev/null +++ b/extends-oe-core/ghostscript%.bbappend @@ -0,0 +1,20 @@ +DEPENDS:append:class-target = " libidn" + +EXTRA_OECONF:remove:class-target = "--without-libidn" + +do_configure:append:class-target() { + # more (so) copy tools from the native ghostscript build + mkdir -p soobj/aux + for i in genarch genconf mkromfs echogs gendev genht packps; do + cp -f ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i soobj/aux/$i + done +} + +do_compile:class-target() { + oe_runmake so +} + +do_install:class-target() { + oe_runmake 'DESTDIR=${D}' soinstall + mv -f ${D}${bindir}/gsc ${D}${bindir}/gs +}