diff options
Diffstat (limited to 'meta/packages/openobex/openobex_1.2.bb')
-rw-r--r-- | meta/packages/openobex/openobex_1.2.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/openobex/openobex_1.2.bb b/meta/packages/openobex/openobex_1.2.bb new file mode 100644 index 0000000000..0c8d118cff --- /dev/null +++ b/meta/packages/openobex/openobex_1.2.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "The Openobex project is an open source implementation of the \ | ||
2 | Object Exchange (OBEX) protocol." | ||
3 | HOMEPAGE = "http://openobex.triq.net" | ||
4 | SECTION = "libs" | ||
5 | PROVIDES = "openobex-apps" | ||
6 | DEPENDS = "libusb bluez-libs" | ||
7 | LICENSE = "GPL" | ||
8 | PR = "r3" | ||
9 | |||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \ | ||
11 | file://disable-cable-test.patch;patch=1" \ | ||
12 | file://libusb_crosscompile_check.patch;patch=1" | ||
13 | |||
14 | inherit autotools binconfig pkgconfig | ||
15 | |||
16 | EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \ | ||
17 | --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.." | ||
18 | |||
19 | do_stage() { | ||
20 | oe_libinstall -so -C lib libopenobex ${STAGING_LIBDIR} | ||
21 | ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.2.so | ||
22 | install -d ${STAGING_INCDIR}/openobex | ||
23 | install -m 0644 include/*.h ${STAGING_INCDIR}/openobex/ | ||
24 | install -d ${STAGING_DIR}/aclocal | ||
25 | install -m 0644 openobex.m4 ${STAGING_DATADIR}/aclocal/ | ||
26 | } | ||
27 | |||
28 | # how to stop shlibrename from renaming -apps? | ||
29 | PACKAGES += "openobex-apps" | ||
30 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
31 | FILES_${PN}-dev += "${bindir}/openobex-config" | ||
32 | FILES_${PN}-apps = "${bindir}/*" | ||