wok-6.x view sagan/receipt @ rev 12536

rage: need auto tools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 02:16:57 2012 +0200 (2012-04-26)
parents 2434bac07291
children 408c87fa22ca
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 pcre"
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 }