aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/wavemon/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/wavemon/APKBUILD')
-rw-r--r--unmaintained/wavemon/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/unmaintained/wavemon/APKBUILD b/unmaintained/wavemon/APKBUILD
new file mode 100644
index 0000000000..4c77fcc213
--- /dev/null
+++ b/unmaintained/wavemon/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=wavemon
+pkgver=0.8.0
+pkgrel=0
+pkgdesc="Ncurses-based monitoring application for wireless network devices"
+url="http://eden-feed.erg.abdn.ac.uk/wavemon/"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends="ncurses-dev libcap-dev libnl3-dev autoconf automake"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/uoaerg/$pkgname/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+
+ sed -i '/^CFLAGS/d' configure.ac
+ autoreconf -fi || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make CFLAGS="$CFLAGS -pthread -I/usr/include/libnl3" || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR=$pkgdir install || return 1
+}
+
+md5sums="816b65577ecf1d2964dee37381901296 wavemon-0.8.0.tar.gz"
+sha256sums="81ee1f06f8349fee62e98ec5b53dff5b76c4d8fcb439f20cca806255239e3a2a wavemon-0.8.0.tar.gz"
+sha512sums="2df48eb300e9b30e0cb7a0ab41ba5e10b2a6e8170dbd11a4c978462c8cd6dc1171f79ceadfdb7344c495420a4e87b7dd723efea4f1af59a6d0312d93049ee798 wavemon-0.8.0.tar.gz"