summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.8.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb
index 302a8bed40..5a921e0459 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.8.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb
@@ -1,4 +1,4 @@
1DESCRIPTION = "userspace library to access USB (version 1.0)" 1DESCRIPTION = "Userspace library to access USB (version 1.0)"
2HOMEPAGE = "http://libusb.sf.net" 2HOMEPAGE = "http://libusb.sf.net"
3BUGTRACKER = "http://www.libusb.org/report" 3BUGTRACKER = "http://www.libusb.org/report"
4SECTION = "libs" 4SECTION = "libs"
@@ -6,7 +6,7 @@ SECTION = "libs"
6LICENSE = "LGPLv2.1+" 6LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" 7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
8 8
9PR = "r0" 9PR = "r1"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" 11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
12 12
@@ -15,3 +15,15 @@ SRC_URI[sha256sum] = "21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1
15S = "${WORKDIR}/libusb-${PV}" 15S = "${WORKDIR}/libusb-${PV}"
16 16
17inherit autotools pkgconfig 17inherit autotools pkgconfig
18
19EXTRA_OECONF = "--libdir=${base_libdir}"
20
21do_install_append() {
22 install -d ${D}${libdir}
23 mv ${D}${base_libdir}/*.la ${D}${libdir}
24 mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
25}
26
27FILES_${PN} += "${base_libdir}/*.so.*"
28
29FILES_${PN}-dev += "${base_libdir}/*.so"