Browse Source

lua-mosquitto: don't use github conflicting tag archives (#1051)

Signed-off-by: Nicolas Thill <nico@openwrt.org>
Nicolas Thill 9 years ago
parent
commit
48ad37c8e4
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      lang/lua-mosquitto/Makefile

+ 5
- 4
lang/lua-mosquitto/Makefile View File

@@ -1,5 +1,5 @@
1 1
 #
2
-# Copyright (C) 2013 OpenWrt.org
2
+# Copyright (C) 2013-2015 OpenWrt.org
3 3
 #
4 4
 # This is free software, licensed under the GNU General Public License v2.
5 5
 # See /LICENSE for more information.
@@ -13,10 +13,11 @@ PKG_RELEASE:=1
13 13
 PKG_LICENSE:=MIT
14 14
 PKG_LICENSE_FILES:=LICENSE
15 15
 
16
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
16
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
17
+PKG_SOURCE_PROTO:=git
17 18
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18
-PKG_SOURCE_URL:=https://github.com/flukso/$(PKG_NAME)/archive/
19
-PKG_MD5SUM:=fd26fa08fc855ba4a66ce521fe5aae13
19
+PKG_SOURCE_URL:=https://github.com/flukso/lua-mosquitto.git
20
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
20 21
 
21 22
 include $(INCLUDE_DIR)/package.mk
22 23