wok view snort/receipt @ rev 11441

up: sip 4.13
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents 040e7d162b1d
children 935c845c0feb
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.1.2"
5 CATEGORY="network"
6 SHORT_DESC="Network intrusion prevention and detection system (IDS/IPS)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.snort.org/"
10 WGET_URL="http://www.snort.org/downloads/1207"
11 DEPENDS="pcre libdnet libdaq"
12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 rm -f $fs/usr/lib/*/*a
31 rm -rf $fs/usr/lib/pkgconfig
32 }