Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # Copyright (C) 2006-2016 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:=horst
  9. PKG_VERSION:=5.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-git.tar.gz
  12. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  13. PKG_SOURCE_URL:=git://github.com/br101/horst.git
  14. PKG_SOURCE_PROTO:=git
  15. PKG_SOURCE_VERSION:=version-$(PKG_VERSION)
  16. PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
  17. PKG_LICENSE:=GPL-2.0+
  18. PKG_LICENSE_FILES:=LICENSE
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. MAKE_FLAGS += DEBUG=1 LIBNL=tiny
  22. define Package/horst
  23. SECTION:=net
  24. CATEGORY:=Network
  25. SUBMENU:=wireless
  26. DEPENDS:=+libncurses +libnl-tiny
  27. MAINTAINER:=Bruno Randolf <br1@einfach.org>
  28. TITLE:=Highly Optimized 802.11 Radio Scanning Tool
  29. URL:=http://br1.einfach.org/tech/horst/
  30. endef
  31. define Package/horst/description
  32. [horst] is a scanning and analysis tool for 802.11 wireless networks
  33. and especially IBSS (ad-hoc) mode and mesh networks (OLSR).
  34. endef
  35. define Package/horst/install
  36. $(INSTALL_DIR) $(1)/usr/sbin
  37. $(INSTALL_BIN) $(PKG_BUILD_DIR)/horst $(1)/usr/sbin/
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/horst.sh $(1)/usr/sbin/
  39. endef
  40. $(eval $(call BuildPackage,horst))