diff options
Diffstat (limited to 'meta/recipes-support/libusb/libusb1_1.0.24.bb')
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.24.bb | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.24.bb b/meta/recipes-support/libusb/libusb1_1.0.24.bb deleted file mode 100644 index 4c552ae6c7..0000000000 --- a/meta/recipes-support/libusb/libusb1_1.0.24.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
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[sha256sum] = "7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a" | ||
16 | |||
17 | S = "${WORKDIR}/libusb-${PV}" | ||
18 | |||
19 | inherit autotools pkgconfig ptest | ||
20 | |||
21 | PACKAGECONFIG_class-target ??= "udev" | ||
22 | PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev" | ||
23 | |||
24 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
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 | do_compile_ptest() { | ||
34 | oe_runmake -C tests stress | ||
35 | } | ||
36 | |||
37 | do_install_ptest() { | ||
38 | install -m 755 ${B}/tests/.libs/stress ${D}${PTEST_PATH} | ||
39 | } | ||
40 | |||
41 | FILES_${PN} += "${base_libdir}/*.so.*" | ||
42 | |||
43 | FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la" | ||