diff options
Diffstat (limited to 'meta/recipes-support/libusb')
-rw-r--r-- | meta/recipes-support/libusb/libusb1_1.0.8.bb | 16 |
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 @@ | |||
1 | DESCRIPTION = "userspace library to access USB (version 1.0)" | 1 | DESCRIPTION = "Userspace library to access USB (version 1.0)" |
2 | HOMEPAGE = "http://libusb.sf.net" | 2 | HOMEPAGE = "http://libusb.sf.net" |
3 | BUGTRACKER = "http://www.libusb.org/report" | 3 | BUGTRACKER = "http://www.libusb.org/report" |
4 | SECTION = "libs" | 4 | SECTION = "libs" |
@@ -6,7 +6,7 @@ SECTION = "libs" | |||
6 | LICENSE = "LGPLv2.1+" | 6 | LICENSE = "LGPLv2.1+" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" |
8 | 8 | ||
9 | PR = "r0" | 9 | PR = "r1" |
10 | 10 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" |
12 | 12 | ||
@@ -15,3 +15,15 @@ SRC_URI[sha256sum] = "21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1 | |||
15 | S = "${WORKDIR}/libusb-${PV}" | 15 | S = "${WORKDIR}/libusb-${PV}" |
16 | 16 | ||
17 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
18 | |||
19 | EXTRA_OECONF = "--libdir=${base_libdir}" | ||
20 | |||
21 | do_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 | |||
27 | FILES_${PN} += "${base_libdir}/*.so.*" | ||
28 | |||
29 | FILES_${PN}-dev += "${base_libdir}/*.so" | ||