wok-4.x view suricata/receipt @ rev 11941

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