wok-current annotate sagan/receipt @ rev 25623
Use default gcc 6.3 for jack-audio-connection-kit
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 18:47:50 2023 +0000 (14 months ago) |
parents | 5c0ba7968d4c |
children |
rev | line source |
---|---|
erjo@11418 | 1 # SliTaz package receipt. |
erjo@11418 | 2 |
erjo@11418 | 3 PACKAGE="sagan" |
erjo@11418 | 4 VERSION="0.2.0" |
erjo@11418 | 5 CATEGORY="security" |
erjo@11418 | 6 SHORT_DESC="Multi-threaded, real time system and event log monitoring system" |
erjo@11418 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pascal@25560 | 9 WEB_SITE="https://github.com/quadrantsec/sagan/" |
erjo@11418 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25367 | 11 WGET_URL="https://download.quadrantsec.com/source/sagan/$TARBALL" |
erjo@11418 | 12 |
gokhlayeh@11464 | 13 DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules pcre" |
erjo@11418 | 14 BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev" |
erjo@11418 | 15 |
pascal@24425 | 16 # What is the latest version available today? |
pascal@24425 | 17 current_version() |
pascal@24425 | 18 { |
pascal@24425 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 20 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 21 } |
pascal@24425 | 22 |
erjo@11418 | 23 # Rules to configure and make the package. |
erjo@11418 | 24 compile_rules() |
erjo@11418 | 25 { |
slaxemulator@11425 | 26 cd $src |
erjo@11418 | 27 ./configure $CONFIGURE_ARGS \ |
erjo@11418 | 28 --sysconfdir=/etc/sagan \ |
erjo@11418 | 29 --disable-mysql \ |
erjo@11418 | 30 --disable-postgresql \ |
erjo@11418 | 31 --disable-prelude \ |
erjo@11418 | 32 --disable-lognorm \ |
erjo@11418 | 33 && make && make install |
erjo@11418 | 34 } |
erjo@11418 | 35 |
erjo@11418 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11418 | 37 genpkg_rules() |
erjo@11418 | 38 { |
erjo@11418 | 39 mkdir $fs/usr |
erjo@11418 | 40 |
erjo@11418 | 41 cp -a $install/usr/bin $fs/usr |
erjo@11418 | 42 cp -a $install/var $fs/ |
erjo@11418 | 43 cp -a $install/etc $fs/ |
erjo@11418 | 44 |
erjo@11418 | 45 } |