2014-07-07 02:14:48 +02:00
|
|
|
#
|
2017-03-21 23:35:12 +01:00
|
|
|
# Copyright (C) 2008-2017 OpenWrt.org
|
2014-07-07 02:14:48 +02: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
|
2021-03-01 02:44:19 +01:00
|
|
|
PKG_VERSION:=0.9.3
|
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2014-07-07 02:14:48 +02:00
|
|
|
|
2018-08-05 01:56:16 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/uoaerg/wavemon/tar.gz/v$(PKG_VERSION)?
|
2021-03-01 02:44:19 +01:00
|
|
|
PKG_HASH:=ddbeb6ec8ed7d94fa895e5d57ecfe338495df3991f6facc7cf40aa121bf7ff60
|
2015-05-01 04:37:41 +02:00
|
|
|
|
2019-01-29 01:03:02 +01:00
|
|
|
PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
|
2019-09-02 15:15:08 +02:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2014-08-14 01:57:40 +02:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2014-07-07 02:14:48 +02:00
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
2020-12-01 00:52:59 +01:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2014-07-07 02:14:48 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/wavemon
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=N-curses based wireless network devices monitor
|
2016-03-19 18:52:50 +01:00
|
|
|
DEPENDS:=+libncurses +libpthread +libnl-genl
|
2019-07-23 15:35:03 +02:00
|
|
|
SUBMENU:=Wireless
|
2015-03-31 18:32:39 +02:00
|
|
|
URL:=https://github.com/uoaerg/wavemon/releases
|
2014-07-07 02:14:48 +02: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 01:03:02 +01:00
|
|
|
CONFIGURE_ARGS += --without-libcap
|
2014-07-07 02:14:48 +02:00
|
|
|
|
2019-01-29 01:03:02 +01:00
|
|
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3
|
2020-08-25 09:52:33 +02:00
|
|
|
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread)
|
2014-07-07 02:14:48 +02:00
|
|
|
|
|
|
|
define Package/wavemon/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2015-03-31 18:32:39 +02:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
|
2014-07-07 02:14:48 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,wavemon))
|