summaryrefslogtreecommitdiff
path: root/lang/lua-bencode
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-04-18 23:33:47 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2017-04-18 23:33:47 +0300
commit74e53c48425609b4f0adb0b284b71a85e4e40b88 (patch)
treec7d14efda5e239de0b79a504da8537ffd61e3db7 /lang/lua-bencode
parent12e3019db7c09e23fba1dd4a2b417fc2666b0c6e (diff)
lua-bencode: download .tar.gz instead of using hg
Avoid using 'hg' (Mercurial) to download sources. 'hg' is not an official prerequisite and it is not installed in all buildslaves in Openwrt and LEDE buildbots, which leads to frequent build failures. Download the .tar.gz source archive instead. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'lang/lua-bencode')
-rw-r--r--lang/lua-bencode/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/lua-bencode/Makefile b/lang/lua-bencode/Makefile
index 0b3205608..a7b898bf5 100644
--- a/lang/lua-bencode/Makefile
+++ b/lang/lua-bencode/Makefile
@@ -11,11 +11,10 @@ PKG_NAME:=lua-bencode
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_URL:=https://bitbucket.org/wilhelmy/lua-bencode
-PKG_SOURCE_PROTO:=hg
-PKG_SOURCE_VERSION:=500243383cb6acbddd3cf12aee6e4667aab53324
+PKG_SOURCE_URL:=https://bitbucket.org/wilhelmy/lua-bencode/downloads/
+PKG_HASH:=4624f33ff026bc62990a323ee4953e42d68430c38a1a4726c9cfd77c085b1422
PKG_LICENSE:=MIT
include $(INCLUDE_DIR)/package.mk