diff options
Diffstat (limited to 'package/libusb-compat')
-rw-r--r-- | package/libusb-compat/Config.in | 7 | ||||
-rw-r--r-- | package/libusb-compat/libusb-compat-0.1.3-pkgconfig.patch | 10 | ||||
-rw-r--r-- | package/libusb-compat/libusb-compat.mk | 14 |
3 files changed, 31 insertions, 0 deletions
diff --git a/package/libusb-compat/Config.in b/package/libusb-compat/Config.in new file mode 100644 index 000000000..f6f49cad9 --- /dev/null +++ b/package/libusb-compat/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBUSB_COMPAT + bool "libusb-compat" + depends on BR2_PACKAGE_LIBUSB + help + libusb-0.1 compatibility layer for libusb-1.0. + + http://libusb.sourceforge.net/ diff --git a/package/libusb-compat/libusb-compat-0.1.3-pkgconfig.patch b/package/libusb-compat/libusb-compat-0.1.3-pkgconfig.patch new file mode 100644 index 000000000..e5ba786dc --- /dev/null +++ b/package/libusb-compat/libusb-compat-0.1.3-pkgconfig.patch @@ -0,0 +1,10 @@ +--- libusb-compat-0.1.3.orig/libusb.pc.in 2008-06-18 00:13:02.000000000 +0100 ++++ libusb-compat-0.1.3/libusb.pc.in 2009-09-16 12:06:50.000000000 +0100 +@@ -9,6 +9,7 @@ emulated_by=libusb-1.0 + Name: libusb + Description: USB access library (libusb-1.0 compat wrapper) + Version: @LIBUSB01_VERSION@ ++Requires: libusb-1.0 + Libs: -L${libdir} -lusb + Cflags: -I${includedir} + diff --git a/package/libusb-compat/libusb-compat.mk b/package/libusb-compat/libusb-compat.mk new file mode 100644 index 000000000..98271c7d1 --- /dev/null +++ b/package/libusb-compat/libusb-compat.mk @@ -0,0 +1,14 @@ +############################################################# +# +# libusb-compat +# +############################################################# +LIBUSB_COMPAT_VERSION = 0.1.3 +LIBUSB_COMPAT_SOURCE = libusb-compat-$(LIBUSB_COMPAT_VERSION).tar.bz2 +LIBUSB_COMPAT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-$(LIBUSB_COMPAT_VERSION) +LIBUSB_COMPAT_LIBTOOL_PATCH = NO +LIBUSB_COMPAT_DEPENDENCIES = host-pkg-config libusb +LIBUSB_COMPAT_INSTALL_STAGING = YES +LIBUSB_COMPAT_INSTALL_TARGET = YES + +$(eval $(call AUTOTARGETS,package,libusb-compat)) |