wok-next diff suricata/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents 96615f3b1048
children 342b30daff76
line diff
     1.1 --- a/suricata/receipt	Sun Oct 29 23:24:57 2017 +0100
     1.2 +++ b/suricata/receipt	Tue May 15 02:59:03 2018 +0300
     1.3 @@ -1,33 +1,32 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="suricata"
     1.8  VERSION="1.1.1"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine."
    1.11 +SHORT_DESC="Next Generation Intrusion Detection and Prevention Engine"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.openinfosecfoundation.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL"
    1.18  
    1.19 -DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml pcre"
    1.20  BUILD_DEPENDS="zlib-dev yaml-dev libnet-dev libpcap-dev libcap-ng-dev libmnl \
    1.21  libnfnetlink-dev libnetfilter_queue-dev libnetfilter_queue libhtp-dev pcre-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	rm -f config.h
    1.28 -	./configure $CONFIGURE_ARGS \
    1.29 +	./configure \
    1.30  		--enable-non-bundled-htp \
    1.31  		--enable-nfqueue \
    1.32  		--enable-af-packet \
    1.33 -	&& make && make install
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	fix libtool &&
    1.36 +	make &&
    1.37 +	make install
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/usr/bin  $fs/usr
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS="libhtp libcap-ng libpcap libnfnetlink libnetfilter_queue yaml pcre"
    1.48  }