iputils: bump to 20240905
[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.5
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:=f84c55a40b470f2b98908d20cd0b38ffef6f587daed23b50281c9592df3331c6
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_INSTALL:=1
23 PKG_BUILD_PARALLEL:=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 +libnl-cli
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 TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread)
47
48 define Package/wavemon/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,wavemon))