summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-01-04 22:30:33 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 11:24:46 +0000
commitd34292c0c2a229a597b8a7e24d9d04c1d87396e2 (patch)
tree1e3c5a7a360e8f8f4ed87ccdfb8a565d2436faa3 /meta
parent67b66d5a29015d02fc428d32f4c3c496e3fd0e2b (diff)
downloadpoky-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')
-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"