blob: 5fc148fae7bbffef900922fb7182ebb176ca8a8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
DEPENDS = "virtual/libc"
DESCRIPTION = "The Openobex project aims to make an \
open source implementation of the Object Exchange \
(OBEX) protocol."
SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \
file://${FILESDIR}/syms.patch;patch=1"
inherit autotools
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
}
|