wok view snort/receipt @ rev 11482
libxml2: add python as build_depend
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:01:59 2011 +0100 (2011-12-18) |
parents | aa616fa818b4 |
children | 3824a7102b48 |
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 flex"
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 }