updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / libpreludedb / PKGBUILD
blob677c2ec4f59c912ef0f5e8588be7f37a89f8853f
1 # Contributor: William Rea <sillywilly@gmail.com>
2 pkgname=libpreludedb
3 pkgver=0.9.11.3
4 pkgrel=1
5 pkgdesc="Provides the framework for easy access to the Prelude database"
6 arch=('i686' 'x86_64')
7 url="http://www.prelude-ids.org"
8 options=('NOLIBTOOL')
9 license="GPL"
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')
17 build() {
18   cd $startdir/src/libpreludedb-$pkgver
19   ./configure --prefix=/usr --enable-mysql --enable-perl
20   make || return 1
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