aboutsummaryrefslogtreecommitdiff
path: root/package/libusb-compat
diff options
context:
space:
mode:
authorGravatar Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2013-12-23 09:36:48 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-26 18:52:33 +0100
commitdf37679c5eabf7dc2d14cbf3a13d186bf61d445e (patch)
tree268705c4f6d2bc1cfa968b3251722dcd344d8668 /package/libusb-compat
parente9b979dc342f4fa12dcc43eab8bf3bd2789cc528 (diff)
downloadbuildroot-df37679c5eabf7dc2d14cbf3a13d186bf61d445e.tar.gz
buildroot-df37679c5eabf7dc2d14cbf3a13d186bf61d445e.tar.bz2
package: add <PKG>_VERSION_MAJOR variable
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libusb-compat')
-rw-r--r--package/libusb-compat/libusb-compat.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libusb-compat/libusb-compat.mk b/package/libusb-compat/libusb-compat.mk
index 8f2726ef13..db02bc7677 100644
--- a/package/libusb-compat/libusb-compat.mk
+++ b/package/libusb-compat/libusb-compat.mk
@@ -4,9 +4,10 @@
#
################################################################################
-LIBUSB_COMPAT_VERSION = 0.1.4
+LIBUSB_COMPAT_VERSION_MAJOR = 0.1
+LIBUSB_COMPAT_VERSION = $(LIBUSB_COMPAT_VERSION_MAJOR).4
LIBUSB_COMPAT_SOURCE = libusb-compat-$(LIBUSB_COMPAT_VERSION).tar.bz2
-LIBUSB_COMPAT_SITE = http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-$(LIBUSB_COMPAT_VERSION)
+LIBUSB_COMPAT_SITE = http://downloads.sourceforge.net/project/libusb/libusb-compat-$(LIBUSB_COMPAT_VERSION_MAJOR)/libusb-compat-$(LIBUSB_COMPAT_VERSION)
LIBUSB_COMPAT_DEPENDENCIES = host-pkgconf libusb
LIBUSB_COMPAT_INSTALL_STAGING = YES
LIBUSB_COMPAT_CONFIG_SCRIPTS = libusb-config