wok view sagan/receipt @ rev 18596

libsdl: fix post_install() status
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 13 17:31:47 2015 +0200 (2015-11-13)
parents d01a9b90fdf0
children 453c249b6219
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 LICENSE="GPL2"
9 WEB_SITE="http://sagan.softwink.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://sagan.softwink.com/download/$TARBALL"
13 DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules pcre"
14 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS \
21 --sysconfdir=/etc/sagan \
22 --disable-mysql \
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 }