2022-07-03 21:29:21 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-04-10 08:30:11 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=wpan-tools
|
2022-07-04 09:58:59 +00:00
|
|
|
PKG_VERSION:=0.8
|
2022-07-03 21:29:21 +00:00
|
|
|
PKG_RELEASE=1
|
2015-04-10 08:30:11 +00:00
|
|
|
|
2022-07-03 21:29:21 +00:00
|
|
|
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?
|
2022-07-04 09:58:59 +00:00
|
|
|
PKG_HASH:=0e22cadbc40d4c12d0a66e8175bda12046f03237ce6da23d4fd26fd3ab557d8b
|
2015-04-10 08:30:11 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/wpan-tools
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=cfg802154 interface configuration utility
|
2022-07-03 21:29:21 +00:00
|
|
|
URL:=https://linux-wpan.org/wpan-tools.html
|
2015-04-10 08:30:11 +00:00
|
|
|
DEPENDS:= +libnl
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wpan-tools/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/iwpan $(1)/usr/sbin/
|
2017-10-13 18:32:40 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wpan-ping/wpan-ping $(1)/usr/sbin/
|
2015-04-10 08:30:11 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,wpan-tools))
|