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

index ff8774cf11773604e1d16f520f10b046de9118d1..0e0c9c540b39aded82b70991b557902784cf8277 100644 (file)
@@ -11,8 +11,12 @@ PKG_NAME:=json4lua
 PKG_VERSION:=0.9.53
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/amrhassan/$(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/amrhassan/json4lua.git
+PKG_SOURCE_VERSION:=$(PKG_VERSION)
+
 PKG_MAINTAINER:=Amr Hassan <amr.hassan@gmail.com>
 PKG_LICENSE=MIT