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

index 7ec89e353430180e103a8f43570dfa3eb1bdabf9..a093e666ca6b6ca8be72e2879776a8531b3c73a6 100644 (file)
@@ -11,9 +11,12 @@ PKG_NAME:=uuid
 PKG_VERSION:=0.2.0
 PKG_RELEASE:=1
 
-PKG_SOURCE:=version_$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/Tieske/$(PKG_NAME)/archive/
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-version_$(PKG_VERSION)
+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/Tieske/uuid.git
+PKG_SOURCE_VERSION:=version_$(PKG_VERSION)
+
 PKG_MAINTAINER:=Amr Hassan <amr.hassan@gmail.com>
 PKG_LICENSE=Apache-2.0