瀏覽代碼

uuid: don't use github conflicting tag archives (#1051)

Signed-off-by: Nicolas Thill <nico@openwrt.org>
Nicolas Thill 9 年之前
父節點
當前提交
b4cf62813f
共有 1 個檔案被更改,包括 6 行新增3 行删除
  1. 6
    3
      lang/uuid/Makefile

+ 6
- 3
lang/uuid/Makefile 查看文件

@@ -11,9 +11,12 @@ PKG_NAME:=uuid
11 11
 PKG_VERSION:=0.2.0
12 12
 PKG_RELEASE:=1
13 13
 
14
-PKG_SOURCE:=version_$(PKG_VERSION).tar.gz
15
-PKG_SOURCE_URL:=https://github.com/Tieske/$(PKG_NAME)/archive/
16
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-version_$(PKG_VERSION)
14
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15
+PKG_SOURCE_PROTO:=git
16
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17
+PKG_SOURCE_URL:=https://github.com/Tieske/uuid.git
18
+PKG_SOURCE_VERSION:=version_$(PKG_VERSION)
19
+
17 20
 PKG_MAINTAINER:=Amr Hassan <amr.hassan@gmail.com>
18 21
 PKG_LICENSE=Apache-2.0
19 22