summaryrefslogtreecommitdiff
path: root/packages/edb/edb_1.0.5.003.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/edb/edb_1.0.5.003.bb')
-rw-r--r--packages/edb/edb_1.0.5.003.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/edb/edb_1.0.5.003.bb b/packages/edb/edb_1.0.5.003.bb
index e69de29bb2..d6204b289f 100644
--- a/packages/edb/edb_1.0.5.003.bb
+++ b/packages/edb/edb_1.0.5.003.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "EDB is a database convenience library wrapped around the \
+Berkeley DB 2.7.7 by Sleepycat Software."
+HOMEPAGE = "http://www.enlightenment.org"
+SECTION = "e/libs"
+PRIORITY = "optional"
+DEPENDS = "zlib"
+LICENSE = "BSD"
+PR = "r0"
+
+do_prepsources () {
+ make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/edb-${PV}.tar.gz"
+S = "${WORKDIR}/edb-${PV}"
+
+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"
+