aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wavemon
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wavemon')
-rw-r--r--testing/wavemon/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/wavemon/APKBUILD b/testing/wavemon/APKBUILD
new file mode 100644
index 0000000000..f23bf671e2
--- /dev/null
+++ b/testing/wavemon/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer:
+pkgname=wavemon
+pkgver=0.7.5
+pkgrel=0
+pkgdesc="Ncurses-based monitoring application for wireless network devices"
+url="http://eden-feed.erg.abdn.ac.uk/wavemon/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="ncurses-dev libcap-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${pkgname}-${pkgver}.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR=$pkgdir install
+}
+
+md5sums="77d4a0f099ca98cf98a915adc70694ba wavemon-0.7.5.tar.bz2"