mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
826 B
Bash
33 lines
826 B
Bash
# Maintainer: Beej Jorgensen <beej@beej.us>
|
|
pkgname=wavemon
|
|
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")
|
|
md5sums=('c60e25feb8b1785cf14371556f0613f4')
|
|
|
|
prepare() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
}
|
|
|
|
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:
|