1 # Contributor: William Rea <sillywilly@gmail.com>
5 pkgdesc="Provides the framework for easy access to the Prelude database"
7 url="http://www.prelude-ids.org"
10 depends=('libprelude' 'mysql')
11 makedepends=('postgresql' 'sqlite3')
12 source=(http://www.prelude-ids.org/download/releases/libpreludedb-$pkgver.tar.gz)
13 install=$pkgname.install
14 md5sums=('cbc10dda9f968a191af70e01d9fca65e')
18 cd $startdir/src/libpreludedb-$pkgver
19 ./configure --prefix=/usr --enable-mysql --enable-perl
21 make DESTDIR=$startdir/pkg install
23 find $startdir/pkg -name '.packlist' -exec rm {} \;
24 rm -r $startdir/pkg/usr/lib/perl5/5.8.8
26 mkdir $startdir/pkg/usr/lib/perl5/site_perl/current
27 mv $startdir/pkg/usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi \
28 $startdir/pkg/usr/lib/perl5/site_perl/current
29 rm -r $startdir/pkg/usr/lib/perl5/site_perl/5.8.8