wpan-tools: cleanup Makefile
authorNick Hainke <vincent@systemli.org>
Sun, 3 Jul 2022 21:29:21 +0000 (23:29 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 Jul 2022 16:16:34 +0000 (18:16 +0200)
- Use SPDX
- Add PKG_RELEASE
- Change wpan.cakelab.org to linux-wpan.org/wpan-tools.html
- Switch to github.com as PKG_SOURCE_URL

Signed-off-by: Nick Hainke <vincent@systemli.org>
package/network/utils/wpan-tools/Makefile

index 060aaf504682c884e6943a85be6fa8d2f99fdee0..309a819cd4d3753678b8d97e1ffc2bc04d881b55 100644 (file)
@@ -1,18 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright (C) 2015 OpenWrt.org
 #
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=wpan-tools
 PKG_VERSION:=0.7
+PKG_RELEASE=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=http://wpan.cakelab.org/releases/
-PKG_HASH:=c16de9d7861c2d9b6a4436a0fac730f9f545ee290b92bc770c538ec6a3f22309
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/linux-wpan/wpan-tools/releases/download/$(PKG_NAME)-$(PKG_VERSION)/$(PKG_NAME)-$(PKG_VERSION).tar.gz?
+PKG_HASH:=8b690ff0e71e08bece5ec541223fda7abd2d5552d97d3d25b4967609b58fef00
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -20,7 +19,7 @@ define Package/wpan-tools
   SECTION:=net
   CATEGORY:=Network
   TITLE:=cfg802154 interface configuration utility
-  URL:=http://wpan.cakelab.org/
+  URL:=https://linux-wpan.org/wpan-tools.html
   DEPENDS:= +libnl
 endef