wok-current view sagan-pgsql/receipt @ rev 14590
drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 00:27:59 2013 +0000 (2013-05-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 }