aboutsummaryrefslogtreecommitdiffstats
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
parent979d795dcd0cc1c21e46122996b62521ab556c6b (diff)
downloadopenembedded-447d858f5ed91bb19d96d7b65155e3e833ab890f.tar.gz
libusb1: update to 1.0.1
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/libusb/libusb1_1.0.1.bb26
2 files changed, 30 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index aa5b5beaec..ca47eda964 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -14458,6 +14458,10 @@ sha256=d112f79489d5deabc0cbb48c6192353d488d9e62c28752eda091f585f2e41176
md5=df2447c23750ef2b4a314200feacc2ee
sha256=c9bdc5820bc283dcfefba4d4f632c9083adffe5a06c21e089ee123209d229ecf
+[http://downloads.sourceforge.net/libusb/libusb-1.0.1.tar.bz2]
+md5=8fb0e066678a0d294894b5b2969cb4b3
+sha256=510b9c7339e878324066ec1cb74c0f67d5df858065155a3239999ff911257d45
+
[http://downloads.sourceforge.net/libusb/libusb-compat-0.1.0-beta1.tar.bz2]
md5=3d9f7c3966d24c6e2d58becac96e4e27
sha256=9365108d71cecb78055de4df6eeb2fadf0fe9143ef105bcb6934dcf391983a49
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.*"