libcontactsdb: add libcontactsdb, needed by gpe-contacts cvs
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 14 Dec 2005 10:18:08 +0000 (10:18 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 14 Dec 2005 10:18:08 +0000 (10:18 +0000)
packages/libcontactsdb/.mtn2git_empty [new file with mode: 0644]
packages/libcontactsdb/libcontactsdb_cvs.bb [new file with mode: 0644]

diff --git a/packages/libcontactsdb/.mtn2git_empty b/packages/libcontactsdb/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libcontactsdb/libcontactsdb_cvs.bb b/packages/libcontactsdb/libcontactsdb_cvs.bb
new file mode 100644 (file)
index 0000000..f287841
--- /dev/null
@@ -0,0 +1,26 @@
+LICENSE = "GPL"
+DESCRIPTION = "Database access library for GPE contacts"
+SECTION = "gpe/libs"
+PRIORITY = "optional"
+DEPENDS = "libgpewidget libgpepimc sqlite"
+
+LICENSE = "GPL"
+
+S =     "${WORKDIR}/${PN}"
+PV =        "0.1+cvs${CVSDATE}"
+PR = "r0"
+
+inherit autotools gpe pkgconfig
+
+SRC_URI =   "${HANDHELDS_CVS};module=gpe/base/${PN}"
+
+headers = "contacts-db.h"
+
+do_stage () {
+       oe_libinstall -so libcontactsdb ${STAGING_LIBDIR}
+
+       mkdir -p ${STAGING_INCDIR}/gpe
+       for h in ${headers}; do
+               install -m 0644 ${S}/gpe/$h ${STAGING_INCDIR}/gpe/$h
+       done
+}