1
0

Makefile 829 B

123456789101112131415161718192021222324252627282930313233343536
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=wpan-tools
  9. PKG_VERSION:=0.7
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=http://wpan.cakelab.org/releases/
  12. PKG_HASH:=c16de9d7861c2d9b6a4436a0fac730f9f545ee290b92bc770c538ec6a3f22309
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/wpan-tools
  15. SECTION:=net
  16. CATEGORY:=Network
  17. TITLE:=cfg802154 interface configuration utility
  18. URL:=http://wpan.cakelab.org/
  19. DEPENDS:= +libnl
  20. endef
  21. define Build/Configure
  22. $(call Build/Configure/Default)
  23. endef
  24. define Package/wpan-tools/install
  25. $(INSTALL_DIR) $(1)/usr/sbin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/iwpan $(1)/usr/sbin/
  27. endef
  28. $(eval $(call BuildPackage,wpan-tools))