updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / unicornscan / PKGBUILD
blob4c284ae538681908c3d1f240a12014cf8ae444cd
1 # Contributor: Pranay Kanwar <pranay.kanwar@gmail.com>
3 pkgname=unicornscan
4 pkgver=0.4.7
5 pkgrel=2
6 url="http://www.unicornscan.org/"
7 depends=('libpcap' 'postgresql-libs' 'geoip' 'libdnet')
8 makedepends=('flex' 'bison')
9 license=("GPL")
10 arch=(i686)
11 source=(http://www.unicornscan.org/releases/$pkgname-$pkgver-$pkgrel.tar.bz2)
12 md5sums=('4c5f272eb38c333c0094c32317edf758')
13 pkgdesc="Unicornscan is a new information gathering and correlation engine."
15 build() {
16   cd $startdir/src/$pkgname-$pkgver/
17   ./configure CFLAGS=-D_GNU_SOURCE --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-pgsql --with-geoip --enable-bundled-ltdl
18   make || return 1
19   make DESTDIR=$startdir/pkg install || return 1
20   cd $startdir/pkg/etc/unicornscan
21   ln -s /usr/share/GeoIP/GeoIP.dat GeoIP.dat