mii-tool: Clean up Makefile 10403/head
authorRosen Penev <rosenp@gmail.com>
Wed, 30 Oct 2019 21:24:33 +0000 (14:24 -0700)
committerRosen Penev <rosenp@gmail.com>
Wed, 30 Oct 2019 21:32:22 +0000 (14:32 -0700)
Fixed license information.

Use xz archives.

Use PKG_SOURCE_DATE instead of PKG_VERSION, which evaluates to the same.

Use HTTPS, which goes through firewalls more easily.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/mii-tool/Makefile

index f67f1022d3c3d7a197ae8286f53cede2b33f2f60..5aac0c43adb032ec47c832ef1d8479049f7feff9 100644 (file)
@@ -9,20 +9,17 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mii-tool
-PKG_VERSION=2016-10-06-$(PKG_SOURCE_VERSION)
-PKG_RELEASE:=2
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=git://git.code.sf.net/p/net-tools/code
+PKG_SOURCE_DATE:=2016-10-06
 PKG_SOURCE_VERSION:=115f1af2494ded1fcd21c8419d5e289bc4df380f
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_MIRROR_HASH:=b67157e2912dd210b3e3184b358db6759177a1d8ed6916763e5a629f154f9d7a
+PKG_RELEASE:=3
 
-PKG_LICENSE:=GPL-2.0
-PKG_LICENSE_FILES:=COPYING
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://git.code.sf.net/p/net-tools/code
+PKG_MIRROR_HASH:=43d9d042ffe2db784256de5df8e77d688f0808f2b890351a21b902c798fa6310
 
 PKG_MAINTAINER:=Stijn Segers <borromini.reg@protonmail.com>
+PKG_LICENSE:=GPL-2.0-or-later
+PKG_LICENSE_FILES:=COPYING
 
 include $(INCLUDE_DIR)/package.mk