diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/libusb/libusb_0.1.10a.bb | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libusb/libusb_0.1.10a.bb')
-rw-r--r-- | meta/packages/libusb/libusb_0.1.10a.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/libusb/libusb_0.1.10a.bb b/meta/packages/libusb/libusb_0.1.10a.bb new file mode 100644 index 0000000000..298eb5ee7f --- /dev/null +++ b/meta/packages/libusb/libusb_0.1.10a.bb | |||
@@ -0,0 +1,28 @@ | |||
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 | install -d ${STAGING_INCDIR}/ | ||
24 | for X in usb.h | ||
25 | do | ||
26 | install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X | ||
27 | done | ||
28 | } | ||