summaryrefslogtreecommitdiff
path: root/packages/edb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/edb')
-rw-r--r--packages/edb/edb-native_1.0.5.bb16
-rw-r--r--packages/edb/edb_1.0.5.bb33
2 files changed, 49 insertions, 0 deletions
diff --git a/packages/edb/edb-native_1.0.5.bb b/packages/edb/edb-native_1.0.5.bb
index e69de29bb2..a95c5c14d1 100644
--- a/packages/edb/edb-native_1.0.5.bb
+++ b/packages/edb/edb-native_1.0.5.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "EDB is a database convenience library wrapped around the \
+Berkeley DB 2.7.7 by Sleepycat Software."
+LICENSE = "BSD"
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+include edb_1.0.5.bb
+inherit native
+DEPENDS = "zlib-native"
+
+do_stage () {
+ install -m 0755 tools/.libs/edb_ed ${STAGING_BINDIR}
+ oe_libinstall -C src libedb ${STAGING_LIBDIR}/
+ install -m 0644 ${S}/src/Edb.h ${STAGING_INCDIR}/
+}
diff --git a/packages/edb/edb_1.0.5.bb b/packages/edb/edb_1.0.5.bb
index e69de29bb2..bbbb07849c 100644
--- a/packages/edb/edb_1.0.5.bb
+++ b/packages/edb/edb_1.0.5.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "EDB is a database convenience library wrapped around the \
+Berkeley DB 2.7.7 by Sleepycat Software."
+HOMEPAGE = "http://www.enlightenment.org"
+MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = "zlib"
+PV = "1.0.5"
+PR = "1"
+LICENSE = "BSD"
+
+do_prepsources () {
+ make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+
+#SRC_URI = "file://./"
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/edb"
+S = "${WORKDIR}/edb"
+
+inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "--disable-gtk \
+ --disable-ncurses"
+
+do_stage () {
+ oe_libinstall -C src libedb ${STAGING_LIBDIR}/
+ install -m 0644 ${S}/src/Edb.h ${STAGING_INCDIR}/
+}
+
+FILES_${PN} = "${libdir}/libedb*.so*"
+FILES_${PN}-dev += "${bindir} ${libdir}/pkgconfig"
+