libconfig: Fix tarball filename (and URL)
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Fri, 19 Oct 2018 21:05:44 +0000 (23:05 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:09 +0000 (17:48 +0100)
v$(PKG_VERSION).tar.gz is a bad idea and will clash for obvious reasons.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from f9a408b75e72d9ddbe4ddf9e54bad2b4b604235a)

package/libs/libconfig/Makefile

index 84ded21725f05c3c5967d6128cc0e23eba08b59e..d7b2f312b9ae7d67482692bfbb238dee6b1cc008 100644 (file)
@@ -11,9 +11,9 @@ PKG_NAME:=libconfig
 PKG_VERSION:=1.7.2
 PKG_RELEASE:=1
 
-PKG_SOURCE:=v$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/hyperrealm/libconfig/archive/
-PKG_HASH:=f67ac44099916ae260a6c9e290a90809e7d782d96cdd462cac656ebc5b685726
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://hyperrealm.github.io/libconfig/dist/
+PKG_HASH:=7c3c7a9c73ff3302084386e96f903eb62ce06953bb1666235fac74363a16fad9
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1