aboutsummaryrefslogtreecommitdiffstats
path: root/openobex/openobex_1.0.1.oe
diff options
context:
space:
mode:
Diffstat (limited to 'openobex/openobex_1.0.1.oe')
-rw-r--r--openobex/openobex_1.0.1.oe10
1 files changed, 3 insertions, 7 deletions
diff --git a/openobex/openobex_1.0.1.oe b/openobex/openobex_1.0.1.oe
index ec6aee05a1..713cc36d96 100644
--- a/openobex/openobex_1.0.1.oe
+++ b/openobex/openobex_1.0.1.oe
@@ -1,7 +1,8 @@
-PR = "r1"
DESCRIPTION = "The Openobex project aims to make an \
open source implementation of the Object Exchange \
(OBEX) protocol."
+SECTION = "libs"
+PR = "r1"
# put openobex-config into -dev package
FILES_${PN} = "${libdir}/lib*.so.*"
@@ -10,16 +11,11 @@ FILES_${PN}-dev += "${bindir}"
SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \
file://syms.patch;patch=1"
-inherit autotools
+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/
- cat openobex-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}/openobex-config
- chmod a+rx ${STAGING_BINDIR}/openobex-config
}