summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libusb/libusb1_1.0.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libusb/libusb1_1.0.22.bb')
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.22.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.22.bb b/meta/recipes-support/libusb/libusb1_1.0.22.bb
new file mode 100644
index 0000000000..766c1c3a64
--- /dev/null
+++ b/meta/recipes-support/libusb/libusb1_1.0.22.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Userspace library to access USB (version 1.0)"
2HOMEPAGE = "http://libusb.sf.net"
3BUGTRACKER = "http://www.libusb.org/report"
4SECTION = "libs"
5
6LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
8
9BBCLASSEXTEND = "native nativesdk"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
12 file://no-dll.patch \
13 "
14
15SRC_URI[md5sum] = "466267889daead47674df933cea9cacb"
16SRC_URI[sha256sum] = "75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157"
17
18S = "${WORKDIR}/libusb-${PV}"
19
20inherit 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
24EXTRA_OECONF = "--libdir=${base_libdir} --disable-udev"
25
26do_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
33FILES_${PN} += "${base_libdir}/*.so.*"
34
35FILES_${PN}-dev += "${base_libdir}/*.so ${base_libdir}/*.la"