summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/wavemon/Config.in18
-rw-r--r--package/wavemon/wavemon.hash3
-rw-r--r--package/wavemon/wavemon.mk19
4 files changed, 41 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 0f0c3769a..f0180cc96 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1594,6 +1594,7 @@ endif
source "package/vpnc/Config.in"
source "package/vsftpd/Config.in"
source "package/vtun/Config.in"
+ source "package/wavemon/Config.in"
source "package/wget/Config.in"
source "package/whois/Config.in"
source "package/wireless-regdb/Config.in"
diff --git a/package/wavemon/Config.in b/package/wavemon/Config.in
new file mode 100644
index 000000000..b0f2f3484
--- /dev/null
+++ b/package/wavemon/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_WAVEMON
+ bool "wavemon"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_NCURSES
+ select BR2_PACKAGE_LIBNL
+ help
+ wavemon is a wireless device monitoring application that allows you
+ to watch signal and noise levels, packet statistics, device
+ configuration and network parameters of your wireless network
+ hardware.
+
+ Note that you need a Linux Kernel configuration with wireless
+ extensions or with wireless extensions compatibility enabled.
+
+ https://github.com/uoaerg/wavemon
+
+comment "wavemon needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/wavemon/wavemon.hash b/package/wavemon/wavemon.hash
new file mode 100644
index 000000000..e35f6ace6
--- /dev/null
+++ b/package/wavemon/wavemon.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 81ee1f06f8349fee62e98ec5b53dff5b76c4d8fcb439f20cca806255239e3a2a wavemon-v0.8.0.tar.gz
+sha256 681b86ef1469df8f7091040258dd01169bea2a7df294185c35bc867725deab2f 01e987a032b81af7bbeba1c439759d750dc1f398.patch
diff --git a/package/wavemon/wavemon.mk b/package/wavemon/wavemon.mk
new file mode 100644
index 000000000..746d45f33
--- /dev/null
+++ b/package/wavemon/wavemon.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# wavemon
+#
+################################################################################
+
+WAVEMON_VERSION = v0.8.0
+WAVEMON_SITE = $(call github,uoaerg,wavemon,$(WAVEMON_VERSION))
+WAVEMON_LICENSE = GPLv3+
+WAVEMON_LICENSE_FILES = COPYING
+WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses
+
+# Fix musl build issue
+WAVEMON_PATCH = https://github.com/uoaerg/wavemon/commit/01e987a032b81af7bbeba1c439759d750dc1f398.patch
+
+# Handwritten Makefile.in, automake isn't used
+WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)"
+
+$(eval $(autotools-package))