2015-04-10 08:30:11 +00:00
|
|
|
#
|
|
|
|
# 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
|
2016-10-07 20:49:52 +00:00
|
|
|
PKG_VERSION:=0.7
|
2015-04-10 08:30:11 +00:00
|
|
|
|
2016-10-07 20:49:52 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2015-04-10 08:30:11 +00:00
|
|
|
PKG_SOURCE_URL:=http://wpan.cakelab.org/releases/
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_HASH:=c16de9d7861c2d9b6a4436a0fac730f9f545ee290b92bc770c538ec6a3f22309
|
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
|
|
|
|
URL:=http://wpan.cakelab.org/
|
|
|
|
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))
|