updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / ipfm / PKGBUILD
blob906f9e33905bde4ecca173e13bdda8fcaa04adaf
1 # $Id: PKGBUILD,v 1.15 2006/09/28 11:51:15 tpowa Exp $
2 # Maintainer: dorphell <dorphell@archlinux.org>
3 # Committer: Judd Vinet <jvinet@zeroflux.org>
4 pkgname=ipfm
5 pkgver=0.11.5
6 pkgrel=4
7 pkgdesc="IP Flow Meter, a bandwidth analysis tool"
8 arch=(i686 x86_64)
9 backup=(etc/ipfm.conf)
10 depends=('glibc' 'bash' 'libpcap')
11 source=(http://robert.cheramy.net/ipfm/archive/$pkgname-$pkgver.tgz ipfm)
12 url="http://robert.cheramy.net/ipfm/"
13 md5sums=('7331aeeabf47cbd37603abe75355fe20' 'c0afca0772b2066acdba883451a891ee')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
18   make || return 1
19   make ROOT=$startdir/pkg install
20   mkdir -p $startdir/pkg/etc/rc.d
21   cp ../ipfm $startdir/pkg/etc/rc.d