summaryrefslogtreecommitdiffstats
path: root/meta/packages/libusb
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2007-01-03 20:55:29 +0000
committerChris Lord <chris@openedhand.com>2007-01-03 20:55:29 +0000
commit4ffe8f6b1ff640722880cf2cd88990956de87e30 (patch)
tree736a16d112da36e87f3709ee93555a48b534dba5 /meta/packages/libusb
parenta34d402b9eaf56d23df83c19c422b7d0d9c708d1 (diff)
downloadpoky-4ffe8f6b1ff640722880cf2cd88990956de87e30.tar.gz
Check in opensync/libsync/synctool bits - Mostly compiles, not tested
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1113 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libusb')
-rw-r--r--meta/packages/libusb/libusb-native_0.1.12.bb3
-rw-r--r--meta/packages/libusb/libusb_0.1.12.bb35
2 files changed, 38 insertions, 0 deletions
diff --git a/meta/packages/libusb/libusb-native_0.1.12.bb b/meta/packages/libusb/libusb-native_0.1.12.bb
new file mode 100644
index 0000000000..637ded28e4
--- /dev/null
+++ b/meta/packages/libusb/libusb-native_0.1.12.bb
@@ -0,0 +1,3 @@
1require libusb_${PV}.bb
2inherit native
3
diff --git a/meta/packages/libusb/libusb_0.1.12.bb b/meta/packages/libusb/libusb_0.1.12.bb
new file mode 100644
index 0000000000..43c6ea92bd
--- /dev/null
+++ b/meta/packages/libusb/libusb_0.1.12.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "libusb is a library to provide userspace \
2access to USB devices."
3HOMEPAGE = "http://libusb.sf.net"
4SECTION = "libs"
5LICENSE = "LGPL"
6PR = "r1"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz"
9
10S = "${WORKDIR}/libusb-${PV}"
11
12inherit autotools pkgconfig binconfig lib_package
13
14PARALLEL_MAKE = ""
15EXTRA_OECONF = "--disable-build-docs"
16
17export CXXFLAGS += "-lstdc++"
18
19do_stage() {
20
21 autotools_stage_all
22 install -m 755 ${S}/libusb-config ${STAGING_BINDIR}
23 # can we get rid of that? wouldn't a sed statement do as well?
24 sed -i 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config
25
26 if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
27 install -d ${STAGING_BINDIR_CROSS}/
28 mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config
29 fi
30
31}
32
33PACKAGES =+ "libusbpp"
34
35FILES_libusbpp = "${libdir}/libusbpp*.so.*"