Add staging tasks to edb and eet.
authorChris Larson <clarson@kergoth.com>
Thu, 27 May 2004 05:50:58 +0000 (05:50 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 27 May 2004 05:50:58 +0000 (05:50 +0000)
BKrev: 40b581c2fxZ28tzmL-Zvie8IQ5AByA

edb/edb_cvs.oe
eet/eet_0.0.1.oe
eet/eet_cvs.oe

index 64145af..0b9aa92 100644 (file)
@@ -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
+}
index effb8d4..5cbed67 100644 (file)
@@ -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
+}
index e69de29..eba05d9 100644 (file)
@@ -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
+}