updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / dhd / PKGBUILD
blob90c22060523e77168be08f463274c1dcda9d4da3
1 # Contributor: danitool
2 pkgname=dhd
3 pkgver=2.1
4 pkgrel=1
5 pkgdesc="Ultra-fast dhcp discovery"
6 url="http://www.latinsud.com/pub/dhd/"
7 license=("GPL")
8 depends=('libnet' 'libpcap')
9 makedepends=('gcc')
10 arch=('i686' 'x86_64')
11 source=(http://www.latinsud.com/pub/dhd/dhd.c)
12 md5sums=('e50f7489136412a602cf47fd1fd382e2')
14 build() {
15   cd $srcdir
16   gcc -o dhd dhd.c -lnet -lpcap -lpthread || return 1
17   install -m 755 -D dhd $pkgdir/usr/sbin/dhd || return 1