wok-next view sagan-mysql/receipt @ rev 20198

linld: updates from rolling
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 15:13:54 2017 +0100 (2017-11-03)
parents 408c87fa22ca
children 757d032c55c7
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 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 libmysqlclient liblognorm sagan-rules pcre"
15 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev mysql-dev liblognorm-dev \
16 pcre-dev"
17 PROVIDE="sagan"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure $CONFIGURE_ARGS \
23 --sysconfdir=/etc/sagan \
24 --disable-postgresql \
25 --disable-prelude \
26 --disable-lognorm \
27 && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/var $fs/
37 cp -a $install/etc $fs/
39 }