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
:=f84c55a40b470f2b98908d20cd0b38ffef6f587daed23b50281c9592df3331c6
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
+libnl-cli
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
46 TARGET_LDFLAGS
+= $(if
$(CONFIG_USE_GLIBC
),-lpthread
)
48 define Package
/wavemon
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/wavemon
$(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,wavemon
))