summaryrefslogtreecommitdiffstats
path: root/package/libusb-compat/libusb-compat.mk
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2010-02-11 13:19:35 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-06 21:55:14 +0200
commite237c9935796445434a7888b9fe2aa84e3e7975a (patch)
tree9da98ae3bd09c17b1f168b0dd82508b496f88670 /package/libusb-compat/libusb-compat.mk
parent6cdcc4d7d8134f4b60f0eb9039090f9ad4c38366 (diff)
downloadbuildroot-novena-e237c9935796445434a7888b9fe2aa84e3e7975a.tar.gz
buildroot-novena-e237c9935796445434a7888b9fe2aa84e3e7975a.zip
libusb: bump version, convert to autotools, add -compat lib
Upgrade libusb to v1.0.3 and add new libusb-compat package for compatibility with old packages that expect the pre-1.0 API. Also update usb_modeswitch to depend on libusb-compat rather than libusb. Minor fixes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>. Fixes bug #1093. Signed-off-by: Mike Crowe <mac@mcrowe.com>
Diffstat (limited to 'package/libusb-compat/libusb-compat.mk')
-rw-r--r--package/libusb-compat/libusb-compat.mk14
1 files changed, 14 insertions, 0 deletions
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))