aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-06-14 07:03:40 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-06-14 07:05:58 +0000
commit77adad331a213656cca46e9ac1f5282d854a9f99 (patch)
tree15d1a0dc495fd8871a5ba632d1c0462b24752c90
parente4fd785bb294ebe42dfd29af114afa2ee4713b7b (diff)
downloadaports-77adad331a213656cca46e9ac1f5282d854a9f99.tar.bz2
aports-77adad331a213656cca46e9ac1f5282d854a9f99.tar.xz
testing/wavemon: new aport
-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"