summaryrefslogtreecommitdiff
path: root/packages/openobex/openobex_1.0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openobex/openobex_1.0.1.bb')
-rw-r--r--packages/openobex/openobex_1.0.1.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/openobex/openobex_1.0.1.bb b/packages/openobex/openobex_1.0.1.bb
index e69de29bb2..17cfe8dca6 100644
--- a/packages/openobex/openobex_1.0.1.bb
+++ b/packages/openobex/openobex_1.0.1.bb
@@ -0,0 +1,24 @@
+LICENSE = GPL
+DESCRIPTION = "The Openobex project aims to make an \
+open source implementation of the Object Exchange \
+(OBEX) protocol."
+SECTION = "libs"
+PR = "r2"
+
+# put openobex-config into -dev package
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \
+ file://syms.patch;patch=1"
+
+inherit autotools binconfig
+
+do_stage () {
+ oe_libinstall -so -C src libopenobex ${STAGING_LIBDIR}
+ ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.0.so
+ install -d ${STAGING_INCDIR}/openobex
+ install -m 0644 src/obex_const.h src/obex.h ${STAGING_INCDIR}/openobex/
+ install -d ${STAGING_DIR}/aclocal
+ install -m 0644 m4macros/openobex.m4 ${STAGING_DATADIR}/aclocal/
+}