summaryrefslogtreecommitdiffstats
path: root/meta/packages/libusb/libusb_0.1.12.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 16:13:03 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 16:13:03 +0000
commit6cad69b4d8b6e626870f4f9ffb91239ab886550d (patch)
tree105b08957009f880ad98b015facf4cdd42532d79 /meta/packages/libusb/libusb_0.1.12.bb
parent632752506096491785bc85dae3261c2fadb284f9 (diff)
downloadpoky-6cad69b4d8b6e626870f4f9ffb91239ab886550d.tar.gz
libusb/libusb0: Drop unneeded custom staging functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/libusb/libusb_0.1.12.bb')
-rw-r--r--meta/packages/libusb/libusb_0.1.12.bb16
1 files changed, 1 insertions, 15 deletions
diff --git a/meta/packages/libusb/libusb_0.1.12.bb b/meta/packages/libusb/libusb_0.1.12.bb
index 316e67d873..8d34a625b8 100644
--- a/meta/packages/libusb/libusb_0.1.12.bb
+++ b/meta/packages/libusb/libusb_0.1.12.bb
@@ -8,27 +8,13 @@ PR = "r5"
8SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \
9 file://configure_fix.patch;patch=1" 9 file://configure_fix.patch;patch=1"
10 10
11inherit autotools pkgconfig binconfig lib_package 11inherit autotools_stage pkgconfig binconfig lib_package
12 12
13PARALLEL_MAKE = "" 13PARALLEL_MAKE = ""
14EXTRA_OECONF = "--disable-build-docs" 14EXTRA_OECONF = "--disable-build-docs"
15 15
16export CXXFLAGS += "-lstdc++" 16export CXXFLAGS += "-lstdc++"
17 17
18do_stage() {
19
20 autotools_stage_all
21 install -m 755 ${S}/libusb-config ${STAGING_BINDIR}
22 # can we get rid of that? wouldn't a sed statement do as well?
23 sed -i 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config
24
25 if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
26 install -d ${STAGING_BINDIR_CROSS}/
27 mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config
28 fi
29
30}
31
32PACKAGES =+ "libusbpp" 18PACKAGES =+ "libusbpp"
33 19
34FILES_libusbpp = "${libdir}/libusbpp*.so.*" 20FILES_libusbpp = "${libdir}/libusbpp*.so.*"