lua-mosquitto: don't use github conflicting tag archives (#1051)
authorNicolas Thill <nico@openwrt.org>
Fri, 1 May 2015 05:58:53 +0000 (07:58 +0200)
committerNicolas Thill <nico@openwrt.org>
Fri, 1 May 2015 05:58:53 +0000 (07:58 +0200)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
lang/lua-mosquitto/Makefile

index a8d625f15a054b21f7d7d0e965e21a832e470a4a..680df4b5e73e241fb8c56860a7c29224b34a9d33 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2013 OpenWrt.org
+# Copyright (C) 2013-2015 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -13,10 +13,11 @@ PKG_RELEASE:=1
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
+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/flukso/$(PKG_NAME)/archive/
-PKG_MD5SUM:=fd26fa08fc855ba4a66ce521fe5aae13
+PKG_SOURCE_URL:=https://github.com/flukso/lua-mosquitto.git
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk