diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:13:03 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:13:03 +0000 |
commit | 6cad69b4d8b6e626870f4f9ffb91239ab886550d (patch) | |
tree | 105b08957009f880ad98b015facf4cdd42532d79 /meta/packages/libusb/libusb_0.1.12.bb | |
parent | 632752506096491785bc85dae3261c2fadb284f9 (diff) | |
download | poky-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.bb | 16 |
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" | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ |
9 | file://configure_fix.patch;patch=1" | 9 | file://configure_fix.patch;patch=1" |
10 | 10 | ||
11 | inherit autotools pkgconfig binconfig lib_package | 11 | inherit autotools_stage pkgconfig binconfig lib_package |
12 | 12 | ||
13 | PARALLEL_MAKE = "" | 13 | PARALLEL_MAKE = "" |
14 | EXTRA_OECONF = "--disable-build-docs" | 14 | EXTRA_OECONF = "--disable-build-docs" |
15 | 15 | ||
16 | export CXXFLAGS += "-lstdc++" | 16 | export CXXFLAGS += "-lstdc++" |
17 | 17 | ||
18 | do_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 | |||
32 | PACKAGES =+ "libusbpp" | 18 | PACKAGES =+ "libusbpp" |
33 | 19 | ||
34 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" | 20 | FILES_libusbpp = "${libdir}/libusbpp*.so.*" |