diff options
author | Chris Larson <clarson@kergoth.com> | 2004-05-27 05:50:58 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-05-27 05:50:58 +0000 |
commit | dbbae0f79b6989e581b648c3b6b1214a931d27e0 (patch) | |
tree | 53d80dbaa1219fe36afb3b266b5f20f2496ef2e7 | |
parent | 98997b44ca0ad5461ab8e8a476140a2be1f3a8cf (diff) |
Add staging tasks to edb and eet.
BKrev: 40b581c2fxZ28tzmL-Zvie8IQ5AByA
-rw-r--r-- | edb/edb_cvs.oe | 12 | ||||
-rw-r--r-- | eet/eet_0.0.1.oe | 12 | ||||
-rw-r--r-- | eet/eet_cvs.oe | 24 |
3 files changed, 46 insertions, 2 deletions
diff --git a/edb/edb_cvs.oe b/edb/edb_cvs.oe index 64145af0e1..0b9aa92ee3 100644 --- a/edb/edb_cvs.oe +++ b/edb/edb_cvs.oe @@ -7,7 +7,17 @@ PV = "${CVSDATE}" SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/edb;date=${CVSDATE}" S = "${WORKDIR}/edb" -inherit autotools +inherit autotools pkgconfig EXTRA_OECONF = "--disable-gtk \ --disable-ncurses" + +do_stage () { + oe_libinstall -C src libedb ${STAGING_LIBDIR}/ + install -m 0644 ${S}/src/Edb.h ${STAGING_INCDIR}/ + cat edb-config | sed -e 's,/usr/include,${STAGING_INCDIR},g; \ + s,/usr/lib,${STAGING_LIBDIR},g; \ + s,/usr/bin,${STAGING_BINDIR},g; \ + s,/usr,${STAGING_LIBDIR}/..,g;' > ${STAGING_BINDIR}/edb-config + chmod u+x ${STAGING_BINDIR}/edb-config +} diff --git a/eet/eet_0.0.1.oe b/eet/eet_0.0.1.oe index effb8d4f0a..5cbed67269 100644 --- a/eet/eet_0.0.1.oe +++ b/eet/eet_0.0.1.oe @@ -9,4 +9,14 @@ DEPENDS = "zlib jpeg" SRC_URI = "${SOURCEFORGE_MIRROR}/enlightenment/eet-${PV}.tar.gz \ file://flags.patch;patch=1" -inherit autotools +inherit autotools pkgconfig + +do_stage () { + oe_libinstall -C src/lib libeet ${STAGING_LIBDIR}/ + install -m 0644 ${S}/src/lib/Eet.h ${STAGING_INCDIR}/ + cat eet-config | sed -e 's,/usr/include,${STAGING_INCDIR},g; \ + s,/usr/lib,${STAGING_LIBDIR},g; \ + s,/usr/bin,${STAGING_BINDIR},g; \ + s,/usr,${STAGING_LIBDIR}/..,g;' > ${STAGING_BINDIR}/eet-config + chmod u+x ${STAGING_BINDIR}/eet-config +} diff --git a/eet/eet_cvs.oe b/eet/eet_cvs.oe index e69de29bb2..eba05d9dec 100644 --- a/eet/eet_cvs.oe +++ b/eet/eet_cvs.oe @@ -0,0 +1,24 @@ +DESCRIPTION = "EET is a tiny library designed to write an \ +arbitary set of chunks of data to a file and optionally compress \ +each chunk (very much like a zip file) and allow fast \ +random-access reading of the file later on." +SECTION = "libs" +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +DEPENDS = "zlib jpeg" +PV = "${CVSDATE}" + +SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/eet;date=${CVSDATE} \ + file://flags.patch;patch=1" +S = "${WORKDIR}/eet" + +inherit autotools pkgconfig + +do_stage () { + oe_libinstall -C src/lib libeet ${STAGING_LIBDIR}/ + install -m 0644 ${S}/src/lib/Eet.h ${STAGING_INCDIR}/ + cat eet-config | sed -e 's,/usr/include,${STAGING_INCDIR},g; \ + s,/usr/lib,${STAGING_LIBDIR},g; \ + s,/usr/bin,${STAGING_BINDIR},g; \ + s,/usr,${STAGING_LIBDIR}/..,g;' > ${STAGING_BINDIR}/eet-config + chmod u+x ${STAGING_BINDIR}/eet-config +} |