diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-04-02 02:16:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-24 14:10:08 +0100 |
commit | 37605f613f7415d7b22beca554fcb6a9ea4a5ebc (patch) | |
tree | d8c3c36071ae4dddd099585552a24d97a47920ae /meta/recipes-support/libusb/libusb1_1.0.23.bb | |
parent | a2bfc86aaf7c5fe432f5f4f8f320337dd8936f20 (diff) | |
download | poky-37605f613f7415d7b22beca554fcb6a9ea4a5ebc.tar.gz |
libusb1: upgrade 1.0.22 -> 1.0.23
no-dll.patch
removed since it is no available for 1.0.23
(From OE-Core rev: 5d55b5e3c5b41929e348a2c9ab69ce0ba774f0cb)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb/libusb1_1.0.23.bb')
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.23.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.23.bb b/meta/recipes-support/libusb/libusb1_1.0.23.bb new file mode 100644 index 0000000000..2fd658b4ef --- /dev/null +++ b/meta/recipes-support/libusb/libusb1_1.0.23.bb | |||
@@ -0,0 +1,44 @@ | |||
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://run-ptest \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "be79ed4a4a440169deec8beaac6aae33" | ||
16 | SRC_URI[sha256sum] = "4fc17b2ef3502757641bf8fe2c14ad86ec86302a2b785abcb0806fd03aa1201f" | ||
17 | |||
18 | S = "${WORKDIR}/libusb-${PV}" | ||
19 | |||
20 | inherit autotools pkgconfig ptest | ||
21 | |||
22 | PACKAGECONFIG_class-target ??= "udev" | ||
23 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" | ||
24 | |||
25 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
26 | |||
27 | do_install_append() { | ||
28 | install -d ${D}${libdir} | ||
29 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
30 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
31 | fi | ||
32 | } | ||
33 | |||
34 | do_compile_ptest() { | ||
35 | oe_runmake -C tests stress | ||
36 | } | ||
37 | |||
38 | do_install_ptest() { | ||
39 | install -m 755 ${B}/tests/.libs/stress ${D}${PTEST_PATH} | ||
40 | } | ||
41 | |||
42 | FILES_${PN} += "${base_libdir}/*.so.*" | ||
43 | |||
44 | FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la" | ||