wok-stable view sagan/receipt @ rev 11425

sagan*: Cd to $src in compile_rules.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 14 05:23:20 2011 +0000 (2011-12-14)
parents f40fbf8bf14b
children d01a9b90fdf0
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 cd $src
19 ./configure $CONFIGURE_ARGS \
20 --sysconfdir=/etc/sagan \
21 --disable-mysql \
22 --disable-postgresql \
23 --disable-prelude \
24 --disable-lognorm \
25 && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/var $fs/
35 cp -a $install/etc $fs/
37 }