PKGBUILDs/aur/wavemon/PKGBUILD

34 lines
826 B
Bash
Raw Normal View History

# Maintainer: Beej Jorgensen <beej@beej.us>
pkgname=wavemon
2014-02-11 01:08:17 +00:00
pkgver=0.7.6
pkgrel=1
pkgdesc="Ncurses-based monitoring application for wireless network devices"
arch=('i686' 'x86_64')
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')
2014-02-11 01:08:17 +00:00
prepare() {
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"
make DESTDIR=${pkgdir} install
}
# vim:set ts=2 sw=2 et: