summaryrefslogtreecommitdiff
path: root/edb/edb_cvs.oe
diff options
context:
space:
mode:
Diffstat (limited to 'edb/edb_cvs.oe')
-rw-r--r--edb/edb_cvs.oe12
1 files changed, 11 insertions, 1 deletions
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
+}