Download packages from github in tar.gz format instead git format.

Verified way how to get packages from github by version or sha1
(it's enough to use first 7 characters from SHA1):
1. by sha1
FOO_VERSION = 1234567
FOO_SITE = http://github.com/user/package/tarball/branch

2. by version
FOO_VERSION = v1.0
FOO_SITE = http://github.com/user/package/tarball/$(FOO_VERSION)

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Marek Belisko 2012-09-20 10:48:20 +00:00 committed by Peter Korsgaard
parent 21fe55eb80
commit c2d525e82d
10 changed files with 16 additions and 17 deletions

View File

@ -5,7 +5,7 @@
#############################################################
CPULOAD_VERSION = v0.3
CPULOAD_SITE = git://github.com/kelvincheung/cpuload.git
CPULOAD_SITE = http://github.com/kelvincheung/cpuload/tarball/$(CPULOAD_VERSION)
CPULOAD_LICENSE = GPLv2
CPULOAD_LICENSE_FILES = COPYING

View File

@ -5,7 +5,7 @@
#############################################################
INPUT_EVENT_DAEMON_VERSION = v0.1.3
INPUT_EVENT_DAEMON_SITE = git://github.com/gandro/input-event-daemon.git
INPUT_EVENT_DAEMON_SITE = http://github.com/gandro/input-event-daemon/tarball/$(INPUT_EVENT_DAEMON_VERSION)
INPUT_EVENT_DAEMON_LICENSE = input-event-daemon license
INPUT_EVENT_DAEMON_LICENSE_FILES = README

View File

@ -1,5 +1,5 @@
JSMIN_VERSION = a9b47554d5684a55301a2eb7ca8480b7ee7630d4
JSMIN_SITE = git://github.com/douglascrockford/JSMin.git
JSMIN_VERSION = a9b4755
JSMIN_SITE = http://github.com/douglascrockford/JSMin/tarball/master
define JSMIN_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin

View File

@ -5,7 +5,7 @@
#############################################################
LIBIQRF_VERSION = v0.1.0
LIBIQRF_SITE = git://github.com/nandra/libiqrf.git
LIBIQRF_SITE = http://github.com/nandra/libiqrf/tarball/$(LIBIQRF_VERSION)
LIBIQRF_INSTALL_STAGING = YES
LIBIQRF_DEPENDENCIES = libusb

View File

@ -3,8 +3,8 @@
# mtdev2tuio
#
#############################################################
MTDEV2TUIO_VERSION = e1e7378d86
MTDEV2TUIO_SITE = git://github.com/olivopaolo/mtdev2tuio.git
MTDEV2TUIO_VERSION = e1e7378
MTDEV2TUIO_SITE = http://github.com/olivopaolo/mtdev2tuio/tarball/master
MTDEV2TUIO_DEPENDENCIES = mtdev liblo
MTDEV2TUIO_LICENSE = GPLv3+
MTDEV2TUIO_LICENSE_FILES = COPYING

View File

@ -4,9 +4,8 @@
#
#############################################################
OMAP_U_BOOT_UTILS_VERSION = 8aff852322
OMAP_U_BOOT_UTILS_SITE = http://github.com/nmenon/omap-u-boot-utils.git
OMAP_U_BOOT_UTILS_SITE_METHOD = git
OMAP_U_BOOT_UTILS_VERSION = 8aff852
OMAP_U_BOOT_UTILS_SITE = http://github.com/nmenon/omap-u-boot-utils/tarball/master
define HOST_OMAP_U_BOOT_UTILS_BUILD_CMDS
$(MAKE) -C $(@D)

View File

@ -3,8 +3,8 @@
# socketcand
#
#############################################################
SOCKETCAND_VERSION = 7d06986fa4b5fd2c210ec4e248dab41107be1ccd
SOCKETCAND_SITE = git://github.com/dschanoeh/socketcand.git
SOCKETCAND_VERSION = 7d06986
SOCKETCAND_SITE = http://github.com/dschanoeh/socketcand/tarball/master
SOCKETCAND_AUTORECONF = YES
SOCKETCAND_DEPENDENCIES = libconfig

View File

@ -4,8 +4,8 @@
#
#############################################################
TI_UTILS_VERSION = 06dbdb2727354b5f3ad7c723897f40051fddee49
TI_UTILS_SITE = git://github.com/gxk/ti-utils.git
TI_UTILS_VERSION = 06dbdb2
TI_UTILS_SITE = http://github.com/gxk/ti-utils/tarball/master
TI_UTILS_DEPENDENCIES = libnl
define TI_UTILS_BUILD_CMDS

View File

@ -3,8 +3,8 @@
# tslib
#
#############################################################
TSLIB_VERSION = 412d99d8b92c
TSLIB_SITE = git://github.com/kergoth/tslib.git
TSLIB_VERSION = 412d99d
TSLIB_SITE = http://github.com/kergoth/tslib/tarball/master
TSLIB_AUTORECONF = YES
TSLIB_INSTALL_STAGING = YES
TSLIB_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install

View File

@ -5,7 +5,7 @@
################################################################################
YAJL_VERSION = 2.0.4
YAJL_SITE = git://github.com/lloyd/yajl.git
YAJL_SITE = http://github.com/lloyd/yajl/tarball/$(YAJL_VERSION)
YAJL_INSTALL_STAGING = YES
YAJL_LICENSE = ISC
YAJL_LICENSE_FILES = COPYING