2014-07-07 08:14:48 +08:00
|
|
|
#
|
2017-03-22 06:35:12 +08:00
|
|
|
# Copyright (C) 2008-2017 OpenWrt.org
|
2014-07-07 08:14:48 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=wavemon
|
2023-10-16 17:59:33 +08:00
|
|
|
PKG_VERSION:=0.9.5
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-22 00:32:27 +08:00
|
|
|
PKG_RELEASE:=1
|
2014-07-07 08:14:48 +08:00
|
|
|
|
2018-08-05 07:56:16 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/uoaerg/wavemon/tar.gz/v$(PKG_VERSION)?
|
2023-10-16 17:59:33 +08:00
|
|
|
PKG_HASH:=f84c55a40b470f2b98908d20cd0b38ffef6f587daed23b50281c9592df3331c6
|
2015-05-01 10:37:41 +08:00
|
|
|
|
2019-01-29 08:03:02 +08:00
|
|
|
PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
|
2019-09-02 21:15:08 +08:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2014-08-14 07:57:40 +08:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2014-07-07 08:14:48 +08:00
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
2020-12-01 07:52:59 +08:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-07-07 08:14:48 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/wavemon
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=N-curses based wireless network devices monitor
|
2023-10-16 17:59:33 +08:00
|
|
|
DEPENDS:=+libncurses +libpthread +libnl-genl +libnl-cli
|
2019-07-23 21:35:03 +08:00
|
|
|
SUBMENU:=Wireless
|
2015-04-01 00:32:39 +08:00
|
|
|
URL:=https://github.com/uoaerg/wavemon/releases
|
2014-07-07 08:14:48 +08:00
|
|
|
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
|
|
|
|
|
2019-01-29 08:03:02 +08:00
|
|
|
CONFIGURE_ARGS += --without-libcap
|
2014-07-07 08:14:48 +08:00
|
|
|
|
2019-01-29 08:03:02 +08:00
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3
|
2020-08-25 15:52:33 +08:00
|
|
|
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread)
|
2014-07-07 08:14:48 +08:00
|
|
|
|
|
|
|
define Package/wavemon/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2015-04-01 00:32:39 +08:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
|
2014-07-07 08:14:48 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,wavemon))
|