luarocks: don't use github conflicting tag archives (#1051)
authorNicolas Thill <nico@openwrt.org>
Fri, 1 May 2015 06:14:30 +0000 (08:14 +0200)
committerNicolas Thill <nico@openwrt.org>
Fri, 1 May 2015 06:14:30 +0000 (08:14 +0200)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
lang/luarocks/Makefile

index 15643ff5d67b3fb80781bf4cce3c3a84f49d6bf8..3aae8e9e9b62d15deac3fcfb530f2e3d3bfff383 100644 (file)
@@ -11,8 +11,12 @@ PKG_NAME:=luarocks
 PKG_VERSION:=2.2.0-rc1
 PKG_RELEASE:=2
 
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/keplerproject/$(PKG_NAME)/archive/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=https://github.com/keplerproject/luarocks.git
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
+
 PKG_MAINTAINER:=Amr Hassan <amr.hassan@gmail.com>
 PKG_INSTALL=1
 PKG_BUILD_DEPENDS:=lua/host luac/host