wok-next annotate suricata/receipt @ rev 15689
Fix dpkg receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:57:52 2013 +0100 (2013-12-21) |
parents | 851f99758f5b |
children | 96615f3b1048 |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@11452 | 9 WEB_SITE="http://www.openinfosecfoundation.org/" |
erjo@11452 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11452 | 11 WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL" |
erjo@11452 | 12 |
gokhlayeh@11487 | 13 DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml pcre" |
pascal@15351 | 14 BUILD_DEPENDS="zlib-dev yaml-dev libnet-dev libpcap-dev libcap-ng-dev libmnl \ |
pascal@15258 | 15 libnfnetlink-dev libnetfilter_queue-dev libnetfilter_queue libhtp-dev" |
erjo@11452 | 16 |
erjo@11452 | 17 # Rules to configure and make the package. |
erjo@11452 | 18 compile_rules() |
erjo@11452 | 19 { |
erjo@11452 | 20 cd $src |
erjo@11452 | 21 rm -f config.h |
erjo@11452 | 22 ./configure $CONFIGURE_ARGS \ |
erjo@11452 | 23 --enable-non-bundled-htp \ |
erjo@11452 | 24 --enable-nfqueue \ |
erjo@11452 | 25 --enable-af-packet \ |
erjo@11452 | 26 && make && make install |
erjo@11452 | 27 } |
erjo@11452 | 28 |
erjo@11452 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11452 | 30 genpkg_rules() |
erjo@11452 | 31 { |
erjo@11452 | 32 mkdir -p $fs/usr |
erjo@11452 | 33 cp -a $install/usr/bin $fs/usr |
erjo@11452 | 34 } |