wok-6.x view sagan-pgsql/receipt @ rev 13291

Up sslh (1.13)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 27 15:45:50 2012 +0200 (2012-08-27)
parents 7b3d75b1c235
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="sagan-pgsql"
4 VERSION="0.2.0"
5 CATEGORY="security"
6 SHORT_DESC="Real time system and event log monitoring system with PostgreSQL support"
7 MAINTAINER="erjo@slitaz.org"
8 WEB_SITE="http://sagan.softwink.com/"
9 SOURCE="sagan"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://sagan.softwink.com/download/$TARBALL"
13 DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules"
14 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev liblognorm-dev"
15 PROVIDE="sagan"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS \
22 --sysconfdir=/etc/sagan \
23 --with-postgresql-includes=/usr/include/postgresql \
24 --with-postgresql-libraries=/usr/lib/postgresql \
25 --disable-mysql \
26 --disable-prelude \
27 --disable-lognorm \
28 && make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/var $fs/
38 cp -a $install/etc $fs/
39 }