wok annotate sagan-mysql/receipt @ rev 16212
weston: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 12:57:26 2014 +0000 (2014-03-31) |
parents | 52f969799e1b |
children | 453c249b6219 |
rev | line source |
---|---|
erjo@11418 | 1 # SliTaz package receipt. |
erjo@11418 | 2 |
erjo@11418 | 3 PACKAGE="sagan-mysql" |
erjo@11418 | 4 VERSION="0.2.0" |
erjo@11418 | 5 CATEGORY="security" |
erjo@11418 | 6 SHORT_DESC="Real time system and event log monitoring system with MySQL support" |
erjo@11418 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
erjo@11418 | 9 WEB_SITE="http://sagan.softwink.com/" |
erjo@11418 | 10 SOURCE="sagan" |
erjo@11418 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@11418 | 12 WGET_URL="http://sagan.softwink.com/download/$TARBALL" |
erjo@11418 | 13 |
gokhlayeh@11485 | 14 DEPENDS="libesmtp libpcap libdnet libmysqlclient liblognorm sagan-rules pcre" |
erjo@11418 | 15 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev mysql-dev liblognorm-dev" |
erjo@11418 | 16 PROVIDE="sagan" |
erjo@11418 | 17 |
erjo@11418 | 18 # Rules to configure and make the package. |
erjo@11418 | 19 compile_rules() |
erjo@11418 | 20 { |
slaxemulator@11425 | 21 cd $src |
erjo@11418 | 22 ./configure $CONFIGURE_ARGS \ |
erjo@11418 | 23 --sysconfdir=/etc/sagan \ |
erjo@11418 | 24 --disable-postgresql \ |
erjo@11418 | 25 --disable-prelude \ |
erjo@11418 | 26 --disable-lognorm \ |
erjo@11418 | 27 && make && make install |
erjo@11418 | 28 } |
erjo@11418 | 29 |
erjo@11418 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11418 | 31 genpkg_rules() |
erjo@11418 | 32 { |
erjo@11418 | 33 mkdir $fs/usr |
erjo@11418 | 34 |
erjo@11418 | 35 cp -a $install/usr/bin $fs/usr |
erjo@11418 | 36 cp -a $install/var $fs/ |
erjo@11418 | 37 cp -a $install/etc $fs/ |
erjo@11418 | 38 |
erjo@11418 | 39 } |