2013-06-29 15:42:25 +00:00
|
|
|
# Maintainer: Beej Jorgensen <beej@beej.us>
|
2013-06-28 19:34:53 +00:00
|
|
|
pkgname=wavemon
|
2014-02-11 01:08:17 +00:00
|
|
|
pkgver=0.7.6
|
2013-06-28 19:34:53 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Ncurses-based monitoring application for wireless network devices"
|
2013-06-29 15:42:25 +00:00
|
|
|
arch=('i686' 'x86_64')
|
2013-06-28 19:34:53 +00:00
|
|
|
url="http://eden-feed.erg.abdn.ac.uk/wavemon/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('ncurses' 'libcap')
|
|
|
|
source=("http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${pkgname}-${pkgver}.tar.bz2")
|
2014-02-11 01:08:17 +00:00
|
|
|
md5sums=('c60e25feb8b1785cf14371556f0613f4')
|
2013-06-28 19:34:53 +00:00
|
|
|
|
2014-02-11 01:08:17 +00:00
|
|
|
prepare() {
|
2013-06-28 19:34:53 +00:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
2014-02-11 01:08:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
|
|
|
# This hackery is because the Makefile expects pthread to be in the
|
|
|
|
# CFLAGS. Is there a bettery way to do this?
|
|
|
|
CFLAGS="$CFLAGS -O2 -Wall -pthread" make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2013-06-28 19:34:53 +00:00
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|