fwknop: init script improvements
[feed/packages.git] / net / wavemon / Makefile
1 #
2 # Copyright (C) 2008-2017 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:=wavemon
11 PKG_VERSION:=0.9.1
12 PKG_RELEASE:=1
13
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
17
18 PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
19 PKG_LICENSE:=GPL-2.0-or-later
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_BUILD_PARALLEL:=1
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/wavemon
28 SECTION:=net
29 CATEGORY:=Network
30 TITLE:=N-curses based wireless network devices monitor
31 DEPENDS:=+libncurses +libpthread +libnl-genl
32 SUBMENU:=Wireless
33 URL:=https://github.com/uoaerg/wavemon/releases
34 endef
35
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.
41 endef
42
43 CONFIGURE_ARGS += --without-libcap
44
45 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3
46
47 define Package/wavemon/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
50 endef
51
52 $(eval $(call BuildPackage,wavemon))