summaryrefslogtreecommitdiff
path: root/espgs
diff options
context:
space:
mode:
Diffstat (limited to 'espgs')
-rw-r--r--espgs/espgs-native_7.07.1rc1.oe9
-rw-r--r--espgs/espgs_7.07.1rc1.oe25
2 files changed, 34 insertions, 0 deletions
diff --git a/espgs/espgs-native_7.07.1rc1.oe b/espgs/espgs-native_7.07.1rc1.oe
index e69de29bb2..7af9fe8e62 100644
--- a/espgs/espgs-native_7.07.1rc1.oe
+++ b/espgs/espgs-native_7.07.1rc1.oe
@@ -0,0 +1,9 @@
+SECTION = "unknwon"
+include espgs_${PV}.oe
+inherit native
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/espgs-${PV}"
+DEPENDS = "jpeg-native zlib-native libpng-native"
+
+do_stage_append () {
+ install -m 0755 obj/echogs obj/genarch obj/genconf ${STAGING_BINDIR}/
+}
diff --git a/espgs/espgs_7.07.1rc1.oe b/espgs/espgs_7.07.1rc1.oe
index e69de29bb2..974e3f7cc1 100644
--- a/espgs/espgs_7.07.1rc1.oe
+++ b/espgs/espgs_7.07.1rc1.oe
@@ -0,0 +1,25 @@
+SECTION = "unknwon"
+DEPENDS = "jpeg zlib libpng espgs-native"
+
+SRC_URI = "ftp://ftp.easysw.com/pub/ghostscript/espgs-${PV}-source.tar.bz2"
+S = "${WORKDIR}/espgs-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-drivers= \
+ --without-ijs \
+ --without-gimp-print \
+ --without-omni \
+ --without-x \
+ --disable-cups"
+EXTRA_OEMAKE = "'BUILD_TIME_GS=${STAGING_BINDIR}/gs' \
+ 'ECHOGS_XE=${STAGING_BINDIR}/echogs' \
+ 'GENARCH_XE=${STAGING_BINDIR}/genarch' \
+ 'GENCONF_XE=${STAGING_BINDIR}/genconf'"
+
+do_install () {
+ oe_runmake 'prefix=${D}/${prefix}' \
+ 'bindir=${D}/${bindir}' \
+ 'datadir=${D}/${datadir}' \
+ 'mandir=${D}/${mandir}' install
+}