summaryrefslogtreecommitdiffstats
path: root/package/libusb
diff options
context:
space:
mode:
authorJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2013-12-23 09:36:48 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-26 18:52:33 +0100
commitdf37679c5eabf7dc2d14cbf3a13d186bf61d445e (patch)
tree268705c4f6d2bc1cfa968b3251722dcd344d8668 /package/libusb
parente9b979dc342f4fa12dcc43eab8bf3bd2789cc528 (diff)
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')
-rw-r--r--package/libusb/libusb.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 68e44ec21..99f571cf4 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -4,9 +4,10 @@
#
################################################################################
-LIBUSB_VERSION = 1.0.9
+LIBUSB_VERSION_MAJOR = 1.0
+LIBUSB_VERSION = $(LIBUSB_VERSION_MAJOR).9
LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2
-LIBUSB_SITE = http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-$(LIBUSB_VERSION)
+LIBUSB_SITE = http://downloads.sourceforge.net/project/libusb/libusb-$(LIBUSB_VERSION_MAJOR)/libusb-$(LIBUSB_VERSION)
LIBUSB_LICENSE = LGPLv2.1+
LIBUSB_LICENSE_FILES = COPYING
LIBUSB_DEPENDENCIES = host-pkgconf