wok view sagan/receipt @ rev 18472

ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 01:10:26 2015 +0300 (2015-10-05)
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 }