diff options
| author | Saul Wold <sgw@linux.intel.com> | 2014-06-24 17:13:12 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-25 13:51:46 +0100 |
| commit | c23e597532d4ca7175a0485d59f190f7f22bc692 (patch) | |
| tree | ef0eb74f1e175a816a4e8a47d3cba78dc73adf06 /meta/recipes-support/libusb/libusb1_1.0.19.bb | |
| parent | 1bcd736e736cef81875f4310aed309d1e7690f66 (diff) | |
| download | poky-c23e597532d4ca7175a0485d59f190f7f22bc692.tar.gz | |
libusb1: Update to 1.0.19
(From OE-Core rev: 94368a16636b05dc21db564a0a55e0a705fbfa29)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libusb/libusb1_1.0.19.bb')
| -rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.19.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.19.bb b/meta/recipes-support/libusb/libusb1_1.0.19.bb new file mode 100644 index 0000000000..a20e1fcdb8 --- /dev/null +++ b/meta/recipes-support/libusb/libusb1_1.0.19.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 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 | " | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "f9e2bb5879968467e5ca756cb4e1fa7e" | ||
| 15 | SRC_URI[sha256sum] = "6c502c816002f90d4f76050a6429c3a7e0d84204222cbff2dce95dd773ba6840" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/libusb-${PV}" | ||
| 18 | |||
| 19 | inherit autotools pkgconfig | ||
| 20 | |||
| 21 | # Don't configure udev by default since it will cause a circular | ||
| 22 | # dependecy with udev package, which depends on libusb | ||
| 23 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-udev" | ||
| 24 | |||
| 25 | do_install_append() { | ||
| 26 | install -d ${D}${libdir} | ||
| 27 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | ||
| 28 | mv ${D}${base_libdir}/pkgconfig ${D}${libdir} | ||
| 29 | fi | ||
| 30 | } | ||
| 31 | |||
| 32 | FILES_${PN} += "${base_libdir}/*.so.*" | ||
| 33 | |||
| 34 | FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la" | ||
