wok-4.x view sagan-pgsql/receipt @ rev 12365

get-skype: use dynamic version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 23 13:46:48 2012 +0100 (2012-12-23)
parents 7b3d75b1c235
children
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 }