From: Marek Belisko Date: Thu, 20 Sep 2012 10:48:20 +0000 (+0000) Subject: Download packages from github in tar.gz format instead git format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2d525e82dacec3e6742312fca61dbded2539ed6;p=buildroot.git 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 Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Samuel Martin Signed-off-by: Peter Korsgaard --- diff --git a/package/cpuload/cpuload.mk b/package/cpuload/cpuload.mk index d25c504631..494cbb1179 100644 --- a/package/cpuload/cpuload.mk +++ b/package/cpuload/cpuload.mk @@ -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 diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk index f99bfbe8c9..fdff557cc3 100644 --- a/package/input-event-daemon/input-event-daemon.mk +++ b/package/input-event-daemon/input-event-daemon.mk @@ -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 diff --git a/package/jsmin/jsmin.mk b/package/jsmin/jsmin.mk index fb8c214e8a..0e82008b60 100644 --- a/package/jsmin/jsmin.mk +++ b/package/jsmin/jsmin.mk @@ -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 diff --git a/package/libiqrf/libiqrf.mk b/package/libiqrf/libiqrf.mk index 4cf1541ca2..d7603aed5b 100644 --- a/package/libiqrf/libiqrf.mk +++ b/package/libiqrf/libiqrf.mk @@ -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 diff --git a/package/mtdev2tuio/mtdev2tuio.mk b/package/mtdev2tuio/mtdev2tuio.mk index a86c0bf709..930694696f 100644 --- a/package/mtdev2tuio/mtdev2tuio.mk +++ b/package/mtdev2tuio/mtdev2tuio.mk @@ -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 diff --git a/package/omap-u-boot-utils/omap-u-boot-utils.mk b/package/omap-u-boot-utils/omap-u-boot-utils.mk index 8405f629a7..bb894a5f08 100644 --- a/package/omap-u-boot-utils/omap-u-boot-utils.mk +++ b/package/omap-u-boot-utils/omap-u-boot-utils.mk @@ -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) diff --git a/package/socketcand/socketcand.mk b/package/socketcand/socketcand.mk index a1e672fd68..efade31940 100644 --- a/package/socketcand/socketcand.mk +++ b/package/socketcand/socketcand.mk @@ -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 diff --git a/package/ti-utils/ti-utils.mk b/package/ti-utils/ti-utils.mk index ac54370f64..956daf4577 100644 --- a/package/ti-utils/ti-utils.mk +++ b/package/ti-utils/ti-utils.mk @@ -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 diff --git a/package/tslib/tslib.mk b/package/tslib/tslib.mk index 8f30c25aa5..b10b5ec2c2 100644 --- a/package/tslib/tslib.mk +++ b/package/tslib/tslib.mk @@ -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 diff --git a/package/yajl/yajl.mk b/package/yajl/yajl.mk index 9cebeb77e9..6f9c6401ac 100644 --- a/package/yajl/yajl.mk +++ b/package/yajl/yajl.mk @@ -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