wok view sagan/receipt @ rev 11418

Add: sagan, sagan-pgsql, sagan-mysql, sagan-rules
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 14 02:30:44 2011 +0100 (2011-12-14)
parents
children 2434bac07291
line source
1 # SliTaz package receipt.
3 PACKAGE="sagan"
4 VERSION="0.2.0"
5 CATEGORY="security"
6 SHORT_DESC="Multi-threaded, real time system and event log monitoring system"
7 MAINTAINER="erjo@slitaz.org"
8 WEB_SITE="http://sagan.softwink.com/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://sagan.softwink.com/download/$TARBALL"
12 DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules"
13 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure $CONFIGURE_ARGS \
19 --sysconfdir=/etc/sagan \
20 --disable-mysql \
21 --disable-postgresql \
22 --disable-prelude \
23 --disable-lognorm \
24 && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/var $fs/
34 cp -a $install/etc $fs/
36 }