wok-next view sagan/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents d5aab818505e
children
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sagan.quadrantsec.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="$PACKAGE-mysql:mysql $PACKAGE-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 }