summaryrefslogtreecommitdiff
path: root/openobex
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-08-08 14:05:07 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-08-08 14:05:07 +0000
commit79c35a0c935137ec1fcc21c69392cf332f9d4602 (patch)
tree8a708e86cd8ceb884e98f082ebf9bb430749761f /openobex
parent1153a7b9c5197755a7f922423b666b8bc1e25f97 (diff)
libmikmod, openobex: use binconfig#
BKrev: 41163313suiv8DUX6tJf9lUlIv68hw
Diffstat (limited to 'openobex')
-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
}