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