wok-6.x view snort/receipt @ rev 7349

Up: pidgin to 2.7.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 22 04:38:27 2010 +0000 (2010-11-22)
parents 6c12c90a5937
children 20a284d3a835
line source
1 # SliTaz package receipt.
3 PACKAGE="snort"
4 VERSION="2.9.0.1"
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/308"
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 }