wok rev 8572

imported patch get/snort
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents e3a55b50358b
children ecee005b48bc
files snort/receipt
line diff
     1.1 --- a/snort/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/snort/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -7,21 +7,13 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.6  WEB_SITE="http://www.snort.org/"
     1.7 -WGET="http://www.snort.org/downloads/637"
     1.8 +WGET_URL="http://www.snort.org/downloads/637"
     1.9  DEPENDS="pcre libdnet libdaq"
    1.10  BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	# this is needed even if tazwok support https
    1.16 -	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    1.17 -		tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.18 -	else
    1.19 -		[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    1.20 -		wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
    1.21 -		tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.22 -	fi
    1.23  	cd $src
    1.24  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.25  	--mandir=/usr/share/man \