updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pads / PKGBUILD
blobb6526ac92b2d648bde641be7dedfe1ae9e66234e
1 # Contributor: Vlatko Kosturjak <kost@linux.hr>
2 # Based on PADS Debian patches
4 pkgname=pads
5 pkgver=1.2
6 pkgrel=1
7 pkgdesc="Passive Asset Detection System (pads)"
8 url="http://passive.sourceforge.net/"
9 license=GPL
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')
18 build() {
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