diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-02-21 11:20:44 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:10 +0000 |
commit | 365a57f28100eee3d1f51ff40db781451de54d48 (patch) | |
tree | 0712653b4b436c052ddf58a5aeb5298d4e714857 /meta/recipes-support/libusb/libusb1_1.0.21.bb | |
parent | 09c85a8307ddef4b1bfbaeb3a836ae4fa8b37025 (diff) | |
download | poky-365a57f28100eee3d1f51ff40db781451de54d48.tar.gz |
libusb1: upgrade 1.0.20 -> 1.0.21
(From OE-Core rev: d2aeec6f8ff4f3c5157a378ae524b794a99d635b)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb/libusb1_1.0.21.bb')
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.21.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.21.bb b/meta/recipes-support/libusb/libusb1_1.0.21.bb new file mode 100644 index 0000000000..1fefd14756 --- /dev/null +++ b/meta/recipes-support/libusb/libusb1_1.0.21.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Userspace library to access USB (version 1.0)" | ||
2 | HOMEPAGE = "http://libusb.sf.net" | ||
3 | BUGTRACKER = "http://www.libusb.org/report" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "LGPLv2.1+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | ||
8 | |||
9 | BBCLASSEXTEND = "native nativesdk" | ||
10 | |||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \ | ||
12 | file://no-dll.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "1da9ea3c27b3858fa85c5f4466003e44" | ||
16 | SRC_URI[sha256sum] = "7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b" | ||
17 | |||
18 | S = "${WORKDIR}/libusb-${PV}" | ||
19 | |||
20 | inherit autotools pkgconfig | ||
21 | |||
22 | # Don't configure udev by default since it will cause a circular | ||
23 | # dependecy with udev package, which depends on libusb | ||
24 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-udev" | ||
25 | |||
26 | do_install_append() { | ||
27 | install -d ${D}${libdir} | ||
28 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
29 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
30 | fi | ||
31 | } | ||
32 | |||
33 | FILES_${PN} += "${base_libdir}/*.so.*" | ||
34 | |||
35 | FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la" | ||