summaryrefslogtreecommitdiff
path: root/eet
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-27 05:50:58 +0000
committerChris Larson <clarson@kergoth.com>2004-05-27 05:50:58 +0000
commitdbbae0f79b6989e581b648c3b6b1214a931d27e0 (patch)
tree53d80dbaa1219fe36afb3b266b5f20f2496ef2e7 /eet
parent98997b44ca0ad5461ab8e8a476140a2be1f3a8cf (diff)
Add staging tasks to edb and eet.
BKrev: 40b581c2fxZ28tzmL-Zvie8IQ5AByA
Diffstat (limited to 'eet')
-rw-r--r--eet/eet_0.0.1.oe12
-rw-r--r--eet/eet_cvs.oe24
2 files changed, 35 insertions, 1 deletions
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
+}