diff options
Diffstat (limited to 'meta/packages/libusb/libusb_0.1.10a.bb')
-rw-r--r-- | meta/packages/libusb/libusb_0.1.10a.bb | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/packages/libusb/libusb_0.1.10a.bb b/meta/packages/libusb/libusb_0.1.10a.bb deleted file mode 100644 index 3054d9230d..0000000000 --- a/meta/packages/libusb/libusb_0.1.10a.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | DESCRIPTION = "libusb is a library to provide userspace \ | ||
2 | access to USB devices." | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPL" | ||
5 | PR = "r5" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \ | ||
8 | file://debian-changes.patch;patch=1" | ||
9 | |||
10 | inherit autotools pkgconfig | ||
11 | |||
12 | PARALLEL_MAKE = "" | ||
13 | |||
14 | EXTRA_OECONF = "--disable-build-docs" | ||
15 | |||
16 | do_stage() { | ||
17 | oe_libinstall -a -so libusb ${STAGING_LIBDIR} | ||
18 | |||
19 | install -d ${STAGING_BINDIR} | ||
20 | install -m 755 ${S}/libusb-config ${STAGING_BINDIR} | ||
21 | perl -pi -e 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config | ||
22 | |||
23 | if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then | ||
24 | install -d ${STAGING_BINDIR_CROSS}/ | ||
25 | mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config | ||
26 | fi | ||
27 | |||
28 | install -d ${STAGING_INCDIR}/ | ||
29 | for X in usb.h | ||
30 | do | ||
31 | install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X | ||
32 | done | ||
33 | } | ||