diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-01-04 22:30:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 11:24:46 +0000 |
commit | d34292c0c2a229a597b8a7e24d9d04c1d87396e2 (patch) | |
tree | 1e3c5a7a360e8f8f4ed87ccdfb8a565d2436faa3 /meta/recipes-support | |
parent | 67b66d5a29015d02fc428d32f4c3c496e3fd0e2b (diff) | |
download | poky-d34292c0c2a229a597b8a7e24d9d04c1d87396e2.tar.gz |
libusb1: move libraries to base_libdir
udev links to libusb1, and so these libraries need to be in
base_libdir (/lib) instead of libdir (/usr/lib).
(From OE-Core rev: 4ec9c25b9390bbfc1ddb0d46296f9251e5fd1498)
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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" | ||