wok-next annotate sagan-pgsql/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 96615f3b1048
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
erjo@11418 2
erjo@11418 3 PACKAGE="sagan-pgsql"
erjo@11418 4 VERSION="0.2.0"
erjo@11418 5 CATEGORY="security"
al@20534 6 SHORT_DESC="Real time system and event log monitoring system with PostgreSQL \
al@20534 7 support"
erjo@11418 8 MAINTAINER="erjo@slitaz.org"
pascal@15001 9 LICENSE="GPL2"
erjo@11418 10 WEB_SITE="http://sagan.softwink.com/"
al@20534 11
al@20534 12 TARBALL="sagan-$VERSION.tar.gz"
erjo@11418 13 WGET_URL="http://sagan.softwink.com/download/$TARBALL"
erjo@11418 14
pascal@20109 15 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev \
pascal@20109 16 liblognorm-dev pcre-dev"
erjo@11418 17
al@20534 18 compile_rules() {
al@20534 19 ./configure \
erjo@11418 20 --sysconfdir=/etc/sagan \
erjo@11418 21 --with-postgresql-includes=/usr/include/postgresql \
erjo@11418 22 --with-postgresql-libraries=/usr/lib/postgresql \
erjo@11418 23 --disable-mysql \
erjo@11418 24 --disable-prelude \
erjo@11418 25 --disable-lognorm \
al@20534 26 $CONFIGURE_ARGS &&
al@20534 27 make &&
al@20534 28 make install
erjo@11418 29 }
erjo@11418 30
al@20534 31 genpkg_rules() {
al@20534 32 copy @std
al@20534 33 DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules"
al@20534 34 PROVIDE="sagan"
erjo@11418 35 }