From: Chris Larson Date: Thu, 27 May 2004 05:50:58 +0000 (+0000) Subject: Add staging tasks to edb and eet. X-Git-Tag: Release-2010-05/1~18991 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbbae0f79b6989e581b648c3b6b1214a931d27e0;p=openembedded.git Add staging tasks to edb and eet. BKrev: 40b581c2fxZ28tzmL-Zvie8IQ5AByA --- 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 " +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 +}