wok-next diff libnids/receipt @ rev 21244

updated coova-chilli again (1.3.0 -> 1.5)
author Hans-G?nter Theisgen
date Thu Dec 05 15:20:58 2019 +0100 (2019-12-05)
parents d43bf7aae921
children
line diff
     1.1 --- a/libnids/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/libnids/receipt	Thu Dec 05 15:20:58 2019 +0100
     1.3 @@ -3,28 +3,27 @@
     1.4  PACKAGE="libnids"
     1.5  VERSION="1.24"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="An E-component of Network Intrusion Detection System."
     1.8 +SHORT_DESC="An E-component of Network Intrusion Detection System"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://libnids.sourceforge.net/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://libnids.sourceforge.net/"
    1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  #https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
    1.18  
    1.19 -DEPENDS=""
    1.20  BUILD_DEPENDS="libpcap-dev glib-dev libnet-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
    1.26 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.27 +compile_rules() {
    1.28 +	sed -i "s|^install_prefix.*|install_prefix = $install|" src/Makefile*
    1.29 +
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make DESTDIR=$install install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 +genpkg_rules() {
    1.42  	cp -a $install/* $fs/
    1.43  }