wok-next annotate suricata/receipt @ rev 13034
Add compiler & vnc tags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 12 20:04:51 2012 +0200 (2012-06-12) |
parents | ac27ba25d90a |
children | 380ffe05937a |
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 |
gokhlayeh@11487 | 12 DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml pcre" |
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 } |