wok-next annotate sagan-pgsql/receipt @ rev 20130
xget, zsnes: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 13:23:41 2017 +0100 (2017-10-31) |
parents | 408c87fa22ca |
children | 757d032c55c7 |
rev | line source |
---|---|
erjo@11418 | 1 # SliTaz package receipt. |
erjo@11418 | 2 |
erjo@11418 | 3 PACKAGE="sagan-pgsql" |
erjo@11418 | 4 VERSION="0.2.0" |
erjo@11418 | 5 CATEGORY="security" |
erjo@11419 | 6 SHORT_DESC="Real time system and event log monitoring system with PostgreSQL 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 |
erjo@11418 | 14 DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules" |
pascal@20109 | 15 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev \ |
pascal@20109 | 16 liblognorm-dev pcre-dev" |
erjo@11418 | 17 PROVIDE="sagan" |
erjo@11418 | 18 |
erjo@11418 | 19 # Rules to configure and make the package. |
erjo@11418 | 20 compile_rules() |
erjo@11418 | 21 { |
slaxemulator@11425 | 22 cd $src |
slaxemulator@11425 | 23 ./configure $CONFIGURE_ARGS \ |
erjo@11418 | 24 --sysconfdir=/etc/sagan \ |
erjo@11418 | 25 --with-postgresql-includes=/usr/include/postgresql \ |
erjo@11418 | 26 --with-postgresql-libraries=/usr/lib/postgresql \ |
erjo@11418 | 27 --disable-mysql \ |
erjo@11418 | 28 --disable-prelude \ |
erjo@11418 | 29 --disable-lognorm \ |
erjo@11418 | 30 && make && make install |
erjo@11418 | 31 } |
erjo@11418 | 32 |
erjo@11418 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11418 | 34 genpkg_rules() |
erjo@11418 | 35 { |
erjo@11418 | 36 mkdir $fs/usr |
erjo@11418 | 37 |
erjo@11418 | 38 cp -a $install/usr/bin $fs/usr |
erjo@11418 | 39 cp -a $install/var $fs/ |
erjo@11418 | 40 cp -a $install/etc $fs/ |
erjo@11418 | 41 } |