1 # Contributor : Sebastien Duquette <ekse.0x@gmail.com>
6 pkgdesc="a snort-like log analysis engine"
8 url="http://sagan.softwink.com"
10 depends=('sagan-rules' 'pcre' 'libesmtp' 'mysql-clients' 'postgresql-libs')
11 makedepends=('autoconf' 'automake')
15 _svntrunk=http://svn.softwink.com/svn/repos/sagan/trunk
20 svn co $_svntrunk -r $pkgver $_svnmod
22 msg "Starting build..."
23 ./configure --prefix=/opt/sagan/
25 sed "s:^var RULE_PATH.*$:var RULE_PATH /opt/sagan/rules/:" etc/sagan.conf > etc/sagan.conf.new
26 mv etc/sagan.conf.new etc/sagan.conf
32 make DESTDIR="${pkgdir}" install