updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / netdiscover-debian / PKGBUILD
blob2510e4a461095d33c7373c0337528afceca9def6
1 # Contributor: danitool
2 pkgname=netdiscover-debian
3 pkgver=0.3beta7
4 pkgrel=1
5 pkgdesc="netdiscover from debian sources, updated version with extra options (like trunk flavour), new MAC database, and without several bugs"
6 arch=('i686' 'x86_64')
7 url="http://nixgeneration.com/~jaime/netdiscover/"
8 license=('GPL')
9 depends=('libnet' 'libpcap')
10 makedepends=('gcc' 'make')
11 provides=('netdiscover')
12 conflicts=('netdiscover' 'netdiscover-svn' 'netdiscover-patched')
13 replaces=()
14 backup=()
15 groups=()
16 options=()
17 source=("http://ftp.debian.org/debian/pool/main/n/netdiscover/netdiscover_0.3beta6+20080409.orig.tar.gz"
18         'update-oui-database.sh')
19 #source=(http://nixgeneration.com/~jaime/netdiscover/releases/$pkgname-$pkgver-beta6.tar.gz)
20 md5sums=('cbbe3ae11d7f2e277a592e0a246f0731'
21         '0769fc9825bdb07fe3dc0197d9339c0b')
23 build() {
24         cd ${srcdir}/netdiscover
25         ./autogen.sh --prefix=/usr --sysconfdir=/etc/
26         ./configure --prefix=/usr --sysconfdir=/etc/
27 # the old update-oui-database.sh is slow, so I provided this updated one:
28         cp ${startdir}/update-oui-database.sh .
29         chmod +x update-oui-database.sh
30 # let's fetch an updated MAC table:
31         ./update-oui-database.sh
32         make || return 1
33         make DESTDIR=${pkgdir} install || return 1
34         rm -rf ${pkgdir}/usr/doc