1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="An Open Source Next Generation Intrusion Detection and Prevention Engine"
8 url="http://openinfosecfoundation.org/index.php/download-suricata"
10 depends=('libhtp' 'libcap-ng' 'libnet' 'libpcap' 'libyaml' 'pcre')
11 optdepends=('snort: suricata can use rulesets provided by snort')
12 source=(http://openinfosecfoundation.org/download/$pkgname-$pkgver.tar.gz)
13 sha256sums=('6ff337ca71ca015d50e73a2bb90e02d894b617935482802102648d51b3876fac')
16 cd ${srcdir}/$pkgname-$pkgver
18 ./configure --prefix=/usr --sysconfdir=/etc/$pkgname
23 cd ${srcdir}/$pkgname-$pkgver
25 make DESTDIR=${pkgdir} install
27 install -d ${pkgdir}/var/log/$pkgname
28 install -D -m644 $pkgname.yaml ${pkgdir}/usr/share/$pkgname/$pkgname.yaml