wok-next view sagan/receipt @ rev 20790

1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 11:23:42 2018 +0000 (2018-06-09)
parents 757d032c55c7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sagan"
4 VERSION="0.2.0"
5 CATEGORY="security"
6 SHORT_DESC="Multi-threaded, real time system and event log monitoring system"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sagan.softwink.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://sagan.softwink.com/download/$TARBALL"
14 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev pcre-dev \
15 mysql-dev postgresql-dev"
16 SPLIT="sagan-mysql:mysql sagan-pgsql:pgsql"
18 compile_rules() {
19 case $SET in
20 '') SET_ARGS="--disable-mysql --disable-postgresql";;
21 mysql) SET_ARGS="--disable-postgresql";;
22 pgsql) SET_ARGS="--disable-mysql \
23 --with-postgresql-includes=/usr/include/postgresql \
24 --with-postgresql-libraries=/usr/lib/postgresql";;
25 esac
27 ./configure \
28 --sysconfdir=/etc/sagan \
29 --disable-prelude \
30 --disable-lognorm \
31 $SET_ARGS \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 sagan)
40 copy @std
41 DEPENDS="libesmtp libpcap libpcre libdnet sagan-rules"
42 ;;
43 sagan-mysql)
44 copy @std
45 DEPENDS="libesmtp libmysqlclient libpcap libpcre libdnet \
46 sagan-rules"
47 CATEGORY="security|with MySQL support"
48 PROVIDE="sagan"
49 ;;
50 sagan-pgsql)
51 copy @std
52 DEPENDS="libesmtp libpcap libpcre libpostgresqlclient libdnet \
53 sagan-rules"
54 CATEGORY="security|with PostgreSQL support"
55 PROVIDE="sagan"
56 ;;
57 esac
58 }