packages/net/wavemon/Makefile
Koen Vandeputte d10b26525c wavemon: bump to 9.5.0
The current version is broken, as it refuses to work properly
with the current nl80211 state.
Bumping this fixes full wavemon support

Changelog: 9.5.0:
https://github.com/uoaerg/wavemon/releases/tag/v0.9.5

Changelog 9.4.0:
https://github.com/uoaerg/wavemon/releases/tag/v0.9.4

Note that since 0.9.4, wavemon has a dependency on libnl-cli

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2023-11-02 00:32:34 +08:00

53 lines
1.5 KiB
Makefile

#
# Copyright (C) 2008-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=wavemon
PKG_VERSION:=0.9.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/uoaerg/wavemon/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=f84c55a40b470f2b98908d20cd0b38ffef6f587daed23b50281c9592df3331c6
PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/wavemon
SECTION:=net
CATEGORY:=Network
TITLE:=N-curses based wireless network devices monitor
DEPENDS:=+libncurses +libpthread +libnl-genl +libnl-cli
SUBMENU:=Wireless
URL:=https://github.com/uoaerg/wavemon/releases
endef
define Package/wavemon/description
wavemon is a ncurses-based monitoring application for wireless network
devices. It currently works under Linux with devices that are supported
by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4
and higher), e.g. the Lucent Orinoco cards.
endef
CONFIGURE_ARGS += --without-libcap
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread)
define Package/wavemon/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
endef
$(eval $(call BuildPackage,wavemon))