summaryrefslogtreecommitdiff
path: root/recipes/libusb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-17 18:52:48 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-17 18:52:48 +0200
commit447d858f5ed91bb19d96d7b65155e3e833ab890f (patch)
tree78546a742c3073850c98fbaeafd5173146baa7a6 /recipes/libusb
parent979d795dcd0cc1c21e46122996b62521ab556c6b (diff)
libusb1: update to 1.0.1
Diffstat (limited to 'recipes/libusb')
-rw-r--r--recipes/libusb/libusb1_1.0.1.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/libusb/libusb1_1.0.1.bb b/recipes/libusb/libusb1_1.0.1.bb
new file mode 100644
index 0000000000..1af46bcf98
--- /dev/null
+++ b/recipes/libusb/libusb1_1.0.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "libusb is a library to provide userspace \
+access to USB devices."
+HOMEPAGE = "http://libusb.sf.net"
+SECTION = "libs"
+LICENSE = "LGPL"
+
+
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
+"
+S = "${WORKDIR}/libusb-${PV}"
+
+inherit autotools_stage binconfig lib_package
+
+PARALLEL_MAKE = ""
+EXTRA_OECONF = "--disable-build-docs"
+
+export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}"
+
+LIBTOOL = "${HOST_SYS}-libtool"
+EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
+PACKAGES =+ "libusbpp"
+FILES_libusbpp = "${libdir}/libusbpp*.so.*"