summaryrefslogtreecommitdiff
path: root/embryo
diff options
context:
space:
mode:
Diffstat (limited to 'embryo')
-rw-r--r--embryo/embryo-native_cvs.oe7
-rw-r--r--embryo/embryo_cvs.oe7
2 files changed, 8 insertions, 6 deletions
diff --git a/embryo/embryo-native_cvs.oe b/embryo/embryo-native_cvs.oe
index e69de29bb2..354f8b92de 100644
--- a/embryo/embryo-native_cvs.oe
+++ b/embryo/embryo-native_cvs.oe
@@ -0,0 +1,7 @@
+include embryo_${PV}.oe
+inherit native
+
+do_stage () {
+ oe_libinstall -C src/lib libembryo ${STAGING_LIBDIR}/
+ install -m 0644 ${S}/src/lib/Embryo.h ${STAGING_INCDIR}/
+}
diff --git a/embryo/embryo_cvs.oe b/embryo/embryo_cvs.oe
index 767793d86c..e5d66faee2 100644
--- a/embryo/embryo_cvs.oe
+++ b/embryo/embryo_cvs.oe
@@ -10,14 +10,9 @@ PV = "${CVSDATE}"
SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/embryo"
S = "${WORKDIR}/embryo"
-inherit autotools pkgconfig
+inherit autotools pkgconfig binconfig
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
}