wok-6.x view sagan-mysql/receipt @ rev 12569

pan: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 28 19:44:04 2012 +0200 (2012-04-28)
parents 2434bac07291
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="sagan-mysql"
4 VERSION="0.2.0"
5 CATEGORY="security"
6 SHORT_DESC="Real time system and event log monitoring system with MySQL 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 libmysqlclient liblognorm sagan-rules pcre"
14 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev mysql-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 --disable-postgresql \
24 --disable-prelude \
25 --disable-lognorm \
26 && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/var $fs/
36 cp -a $install/etc $fs/
38 }