updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dhcpdump / PKGBUILD
blob3e168f33a63b537cb04a99ff0c561b4300e02647
1 # Contributor: Petr Malat <petris@penguin.cz> 
2 pkgname=dhcpdump
3 packager=petris
4 license="custom:opensource"
5 pkgver=1.7
6 pkgrel=2
7 pkgdesc="Parses the output of tcpdump to display the dhcp-packets for easier checking and debugging."
8 url="http://www.mavetju.org/unix/dhcpdump-man.php"
9 depends=()
10 source=(http://www.mavetju.org/download/$pkgname-$pkgver.tar.gz)
11 md5sums=('c606c20b2d6a875efce9eed0c6109061')
13 build() {
14         cd $startdir/src/$pkgname-$pkgver
15         CFLAGS="-O3 -march=i686" ./configure --disable-debug
16         make || return 1
17         make prefix=$startdir/pkg/usr/ install
18         mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
19         cp LICENSE $startdir/pkg/usr/share/licenses/$pkgname/