1 # Contributor: Vlatko Kosturjak <kost@linux.hr>
2 # Based on PADS Debian patches
7 pkgdesc="Passive Asset Detection System (pads)"
8 url="http://passive.sourceforge.net/"
10 depends=('glibc' 'libpcap' 'pcre')
11 makedepends=('gcc' 'automake')
12 backup=(etc/pads/pads.conf)
13 source=('http://heanet.dl.sourceforge.net/project/passive/pads/pads-1.2/pads-1.2.tar.gz' pads-patch-deb.diff pads-ld-asneeded.diff)
14 md5sums=('2a366195c55ad6b6859c4c84ce877ee8' '33c860ff83d3ec565949c670b117e400' 'aedb19c9acd2f9142d4d25b912f0bb8b');
15 arch=('i686' 'x86_64')
19 cd $startdir/src/$pkgname-$pkgver/
20 patch -p1 < $startdir/src/pads-patch-deb.diff
21 patch -p1 < $startdir/src/pads-ld-asneeded.diff
22 ./configure --prefix=/usr --sysconfdir=/etc/pads && make
23 make DESTDIR="$pkgdir/" install