87a5fb1461121407f685e960b64315661aacc9bf
[openwrt/.git] / package / network / utils / wpan-tools / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=wpan-tools
11 PKG_VERSION:=0.4
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=http://wpan.cakelab.org/releases/
15 PKG_MD5SUM:=37575523d1543e06b11295f03a891fa7
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/wpan-tools
20   SECTION:=net
21   CATEGORY:=Network
22   TITLE:=cfg802154 interface configuration utility
23   URL:=http://wpan.cakelab.org/
24   DEPENDS:= +libnl
25 endef
26
27 define Build/Configure
28   $(call Build/Configure/Default)
29 endef
30
31 define Package/wpan-tools/install
32         $(INSTALL_DIR) $(1)/usr/sbin
33         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/iwpan $(1)/usr/sbin/
34 endef
35
36 $(eval $(call BuildPackage,wpan-tools))