wok annotate suricata/receipt @ rev 11452

Add: suricata
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 17 10:54:09 2011 +0100 (2011-12-17)
parents
children 43543ae6da45
rev   line source
erjo@11452 1 # SliTaz package receipt.
erjo@11452 2
erjo@11452 3 PACKAGE="suricata"
erjo@11452 4 VERSION="1.1.1"
erjo@11452 5 CATEGORY="security"
erjo@11452 6 SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine."
erjo@11452 7 MAINTAINER="erjo@slitaz.org"
erjo@11452 8 WEB_SITE="http://www.openinfosecfoundation.org/"
erjo@11452 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11452 10 WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL"
erjo@11452 11
erjo@11452 12 DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml "
erjo@11452 13 BUILD_DEPENDS="zlib-dev yaml-dev libnet-dev libpcap-dev libcap-ng-dev
erjo@11452 14 libnfnetlink-dev libnetfilter_queue-dev libhtp-dev"
erjo@11452 15
erjo@11452 16 # Rules to configure and make the package.
erjo@11452 17 compile_rules()
erjo@11452 18 {
erjo@11452 19 cd $src
erjo@11452 20 rm -f config.h
erjo@11452 21 ./configure $CONFIGURE_ARGS \
erjo@11452 22 --enable-non-bundled-htp \
erjo@11452 23 --enable-nfqueue \
erjo@11452 24 --enable-af-packet \
erjo@11452 25 && make && make install
erjo@11452 26 }
erjo@11452 27
erjo@11452 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11452 29 genpkg_rules()
erjo@11452 30 {
erjo@11452 31 mkdir -p $fs/usr
erjo@11452 32 cp -a $install/usr/bin $fs/usr
erjo@11452 33 }