wok view sagan-pgsql/receipt @ rev 19515
linld: multi initrd support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 22 21:19:01 2016 +0100 (2016-11-22) |
parents | 2434bac07291 |
children | 453c249b6219 |
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 LICENSE="GPL2"
9 WEB_SITE="http://sagan.softwink.com/"
10 SOURCE="sagan"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://sagan.softwink.com/download/$TARBALL"
14 DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules"
15 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev liblognorm-dev"
16 PROVIDE="sagan"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure $CONFIGURE_ARGS \
23 --sysconfdir=/etc/sagan \
24 --with-postgresql-includes=/usr/include/postgresql \
25 --with-postgresql-libraries=/usr/lib/postgresql \
26 --disable-mysql \
27 --disable-prelude \
28 --disable-lognorm \
29 && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/var $fs/
39 cp -a $install/etc $fs/
40 }