Makefile 800 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.5
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  11. PKG_SOURCE_URL:=http://wpan.cakelab.org/releases/
  12. PKG_MD5SUM:=6226df405a98c13ec41bf4d1f0777d6b
  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))