Revert "autoconf.inc: Use 'which' to find m4"
[openembedded.git] / recipes / openobex / openobex_1.2.bb
blob6c756f6e157d1a5616da8d3da30d2efb7b371f35
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 = "virtual/libusb0 bluez-libs"
7 LICENSE = "GPL"
8 PR = "r5"
10 SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/openobex-${PV}.tar.gz \
11 file://disable-cable-test.patch \
12 file://libusb_crosscompile_check.patch"
14 inherit autotools binconfig pkgconfig
16 EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \
17 --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.."
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_DATADIR}/aclocal
25 install -m 0644 openobex.m4 ${STAGING_DATADIR}/aclocal/
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}/*"
33 DEBIAN_NOAUTONAME_${PN}-apps = "1"
35 SRC_URI[md5sum] = "c92746ae7bd69255c2c41f51e9349c65"
36 SRC_URI[sha256sum] = "501c611a73d2f7d8a3de5ef83202ff3f9ab21d2c467e39548737e344b085f931"