# SliTaz package receipt. PACKAGE="sagan-pgsql" VERSION="0.2.0" CATEGORY="security" SHORT_DESC="Real time system and event log monitoring system with PostgreSQL support" MAINTAINER="erjo@slitaz.org" WEB_SITE="http://sagan.softwink.com/" SOURCE="sagan" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="http://sagan.softwink.com/download/$TARBALL" DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules" BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev liblognorm-dev" PROVIDE="sagan" # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS \ --sysconfdir=/etc/sagan \ --with-postgresql-includes=/usr/include/postgresql \ --with-postgresql-libraries=/usr/lib/postgresql \ --disable-mysql \ --disable-prelude \ --disable-lognorm \ && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/var $fs/ cp -a $install/etc $fs/ }