wok-current view snort/receipt @ rev 8213
imported patch toolchain/uclibc-cross-compiler-i486.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 20a284d3a835 |
children | 102de15fea8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.0.3"
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="http://www.snort.org/downloads/637"
11 DEPENDS="pcre libdnet libdaq"
12 BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # this is needed even if tazwok support https
18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
19 tar xzf $SOURCES_REPOSITORY/$TARBALL
20 else
21 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
22 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
23 tar xzf $SOURCES_REPOSITORY/$TARBALL
24 fi
25 cd $src
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 rm -f $fs/usr/lib/*/*a
40 rm -rf $fs/usr/lib/pkgconfig
41 }