diff options
Diffstat (limited to 'meta/packages/libusb')
-rw-r--r-- | meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch | 13 | ||||
-rw-r--r-- | meta/packages/libusb/libusb1_0.9.2.bb | 26 | ||||
-rw-r--r-- | meta/packages/libusb/libusb1_1.0.8.bb | 14 |
3 files changed, 14 insertions, 39 deletions
diff --git a/meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch b/meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch deleted file mode 100644 index 1b06945d1..000000000 --- a/meta/packages/libusb/libusb1-0.9.2/0.9.0-gcc3.4-compat-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: libusb-0.9.0/configure.ac -=================================================================== ---- libusb-0.9.0.orig/configure.ac 2008-07-21 08:04:03.000000000 +0200 -+++ libusb-0.9.0/configure.ac 2008-07-21 08:04:16.000000000 +0200 -@@ -62,7 +62,7 @@ - CFLAGS="$saved_cflags" - - AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility]) --AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" -+AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow" - AC_SUBST(AM_CFLAGS) - - AC_CONFIG_FILES([libusb-1.0.pc] [Makefile] [libusb/Makefile] [examples/Makefile] [doc/Makefile]) diff --git a/meta/packages/libusb/libusb1_0.9.2.bb b/meta/packages/libusb/libusb1_0.9.2.bb deleted file mode 100644 index 5f51de6e6..000000000 --- a/meta/packages/libusb/libusb1_0.9.2.bb +++ /dev/null @@ -1,26 +0,0 @@ -DESCRIPTION = "libusb is a library to provide userspace \ -access to USB devices." -HOMEPAGE = "http://libusb.sf.net" -SECTION = "libs" -LICENSE = "LGPL" - -PR = "r0" - -SRC_URI = "\ - ${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \ - file://0.9.0-gcc3.4-compat-fix.patch;patch=1 \ -" -S = "${WORKDIR}/libusb-${PV}" - -inherit autotools pkgconfig binconfig lib_package - -PARALLEL_MAKE = "" -EXTRA_OECONF = "--disable-build-docs" - -export CXXFLAGS += "-lstdc++ -I${STAGING_INCDIR}" - -LIBTOOL = "${HOST_SYS}-libtool" -EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" - -PACKAGES =+ "libusbpp" -FILES_libusbpp = "${libdir}/libusbpp*.so.*" diff --git a/meta/packages/libusb/libusb1_1.0.8.bb b/meta/packages/libusb/libusb1_1.0.8.bb new file mode 100644 index 000000000..26a535ab4 --- /dev/null +++ b/meta/packages/libusb/libusb1_1.0.8.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "userspace library to access USB (version 1.0)" +HOMEPAGE = "http://libusb.sf.net" +BUGTRACKER = "http://www.libusb.org/report" +SECTION = "libs" + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2" +S = "${WORKDIR}/libusb-${PV}" + +inherit autotools pkgconfig |