2 # Copyright (C) 2006-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE_URL
:=git
://github.com
/br101
/horst.git
18 PKG_SOURCE_VERSION
:=v
$(PKG_VERSION
)
19 PKG_MIRROR_HASH
:=22f4be94e839c58ac85ebdc2359b813fd5f68dfd71e1b0c9ed9545020d1abc7d
21 PKG_MAINTAINER
:=Bruno Randolf
<br1@einfach.org
>
23 PKG_LICENSE_FILES
:=LICENSE
27 include $(INCLUDE_DIR
)/package.mk
29 MAKE_FLAGS
+= DEBUG
=1 LIBNL
=tiny
35 DEPENDS
:=+libncurses
+libnl-tiny
36 MAINTAINER
:=Bruno Randolf
<br1@einfach.org
>
37 TITLE
:=Highly Optimized
802.11 Radio Scanning Tool
38 URL
:=http
://br1.einfach.org
/tech
/horst
/
41 define Package
/horst
/description
42 [horst
] is a scanning and analysis tool for
802.11 wireless networks
43 and especially IBSS
(ad-hoc
) mode and mesh networks
(OLSR
).
46 define Package
/horst
/conffiles
50 define Package
/horst
/install
51 $(INSTALL_DIR
) $(1)/usr
/sbin
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/horst
$(1)/usr
/sbin
/
53 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/horst.sh
$(1)/usr
/sbin
/
54 $(INSTALL_DIR
) $(1)/etc
/init.d
55 $(INSTALL_BIN
) .
/horst.init
$(1)/etc
/init.d
/horst
56 $(INSTALL_DIR
) $(1)/etc
/config
57 $(INSTALL_DATA
) .
/horst.config
$(1)/etc
/config
/horst
60 $(eval
$(call BuildPackage
,horst
))