updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / suricata / PKGBUILD
blobffb727f0bf2e74cfc89a6fa4510868e812e1b4a9
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=suricata
4 pkgver=1.1.1
5 pkgrel=1
6 pkgdesc="An Open Source Next Generation Intrusion Detection and Prevention Engine"
7 arch=('i686')
8 url="http://openinfosecfoundation.org/index.php/download-suricata"
9 license=('GPL2')
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')
15 build() {
16   cd ${srcdir}/$pkgname-$pkgver
18   ./configure --prefix=/usr --sysconfdir=/etc/$pkgname
19   make
22 package() {
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