updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ulogd2_output_sqlite3 / PKGBUILD
blobb44ff044720ace0bfbd68aff810c67e88579dc87
1 # Maintainer: Andrzej Boreczko <0rion@wp.pl>
2 # Contributor: Andrzej Boreczko <0rion@wp.pl>
4 pkgname=ulogd2_output_sqlite3
5 pkgver=2.0.0beta4
6 pkgrel=4
7 pkgdesc="SQLite3 output plugin for ulogd-2.x"
8 arch=(i686 x86_64)
9 url="http://www.netfilter.org/projects/ulogd/index.html"
10 license=('GPL')
11 depends=('ulogd2' 'sqlite3')
12 source=("http://www.netfilter.org/projects/ulogd/files/ulogd-${pkgver}.tar.bz2")
13 md5sums=('21143aecf8e39008d143a0fb0f742b0c')
15 build() {
16   export MAKEFLAGS="-j1"
17   cd $startdir/src/ulogd-${pkgver}
18   ./configure --prefix=/usr --sysconfdir=/etc --with-sqlite3 --program-suffix=2
19   make || return 1
22 package() {
23   cd $startdir/src/ulogd-${pkgver}
24   install -D -s -m755 $startdir/src/ulogd-${pkgver}/output/sqlite3/.libs/ulogd_output_SQLITE3.so $startdir/pkg/usr/lib/ulogd/ulogd_output_SQLITE3.so
25   install -m644 $startdir/src/ulogd-${pkgver}/output/sqlite3/.libs/ulogd_output_SQLITE3.a $startdir/pkg/usr/lib/ulogd/ulogd_output_SQLITE3.a