Merge openembedded@openembedded.bkbits.net:packages
authorChris Larson <clarson@kergoth.com>
Thu, 27 May 2004 18:47:25 +0000 (18:47 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 27 May 2004 18:47:25 +0000 (18:47 +0000)
into hyperion.(none):/home/kergoth/code/projects/packages

2004/05/27 13:01:54-05:00 (none)!kergoth
Add staging task to embryo.

BKrev: 40b637bdpXD5a-h_a7bYs9QghkDH9g

embryo/embryo_cvs.oe

index e69de29..30306c8 100644 (file)
@@ -0,0 +1,18 @@
+SECTION = "libs"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+PV = "${CVSDATE}"
+
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/embryo;date=${CVSDATE}"
+S = "${WORKDIR}/embryo"
+
+inherit autotools pkgconfig
+
+do_stage () {
+       oe_libinstall -C src/lib libembryo ${STAGING_LIBDIR}/
+       install -m 0644 ${S}/src/lib/Embryo.h ${STAGING_INCDIR}/
+       cat embryo-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}/embryo-config
+       chmod u+x ${STAGING_BINDIR}/embryo-config
+}