2 # Copyright (C) 2008-2017 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_URL
:=https
://codeload.github.com
/uoaerg
/wavemon
/tar.gz
/v
$(PKG_VERSION
)?
16 PKG_HASH
:=5ebd5b79d3b7c546bc16b95161872c699a75e9acdfc6e3f02ec48dad10802067
18 PKG_MAINTAINER
:=Jonathan McCrohan
<jmccrohan@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/wavemon
30 TITLE
:=N-curses based wireless network devices monitor
31 DEPENDS
:=+libncurses
+libpthread
+libnl-genl
33 URL
:=https
://github.com
/uoaerg
/wavemon
/releases
36 define Package
/wavemon
/description
37 wavemon is a ncurses-based monitoring application for wireless network
38 devices. It currently works under Linux with devices that are supported
39 by the wireless extensions by Jean Tourrilhes
(included in Kernel
2.4
40 and higher
), e.g. the Lucent Orinoco cards.
43 CONFIGURE_ARGS
+= --without-libcap
45 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include/libnl3
47 define Package
/wavemon
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/wavemon
$(1)/usr
/bin
/
52 $(eval
$(call BuildPackage
,wavemon
))