You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

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