wok-next annotate sagan/receipt @ rev 20297
Up spl (0.7.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 09 21:37:23 2017 +0100 (2017-11-09) |
parents | 408c87fa22ca |
children | 757d032c55c7 |
rev | line source |
---|---|
erjo@11418 | 1 # SliTaz package receipt. |
erjo@11418 | 2 |
erjo@11418 | 3 PACKAGE="sagan" |
erjo@11418 | 4 VERSION="0.2.0" |
erjo@11418 | 5 CATEGORY="security" |
erjo@11418 | 6 SHORT_DESC="Multi-threaded, real time system and event log monitoring system" |
erjo@11418 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
erjo@11418 | 9 WEB_SITE="http://sagan.softwink.com/" |
erjo@11418 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11418 | 11 WGET_URL="http://sagan.softwink.com/download/$TARBALL" |
erjo@11418 | 12 |
gokhlayeh@11464 | 13 DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules pcre" |
pascal@20109 | 14 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev pcre-dev" |
erjo@11418 | 15 |
erjo@11418 | 16 # Rules to configure and make the package. |
erjo@11418 | 17 compile_rules() |
erjo@11418 | 18 { |
erjo@11418 | 19 ./configure $CONFIGURE_ARGS \ |
erjo@11418 | 20 --sysconfdir=/etc/sagan \ |
erjo@11418 | 21 --disable-mysql \ |
erjo@11418 | 22 --disable-postgresql \ |
erjo@11418 | 23 --disable-prelude \ |
erjo@11418 | 24 --disable-lognorm \ |
erjo@11418 | 25 && make && make install |
erjo@11418 | 26 } |
erjo@11418 | 27 |
erjo@11418 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11418 | 29 genpkg_rules() |
erjo@11418 | 30 { |
erjo@11418 | 31 mkdir $fs/usr |
erjo@11418 | 32 |
erjo@11418 | 33 cp -a $install/usr/bin $fs/usr |
erjo@11418 | 34 cp -a $install/var $fs/ |
erjo@11418 | 35 cp -a $install/etc $fs/ |
erjo@11418 | 36 |
erjo@11418 | 37 } |