wok-next diff conntrack-tools/receipt @ rev 20570

More fix libtool; audit: apply patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 09:28:50 2018 +0300 (2018-04-13)
parents d43bf7aae921
children d5aab818505e
line diff
     1.1 --- a/conntrack-tools/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/conntrack-tools/receipt	Fri Apr 13 09:28:50 2018 +0300
     1.3 @@ -1,35 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="conntrack-tools"
     1.8  VERSION="1.4.2"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="userspace tools to interact with the Connection Tracking System."
    1.11 +SHORT_DESC="userspace tools to interact with the Connection Tracking System"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://$PACKAGE.netfilter.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://$PACKAGE.netfilter.org/"
    1.18  WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
    1.19  
    1.20 -DEPENDS="libnfnetlink libnetfilter_conntrack libnetfilter_queue \
    1.21 -libnetfilter_cthelper libmnl"
    1.22  BUILD_DEPENDS="glib-dev libnfnetlink-dev libmnl-dev libnetfilter_conntrack-dev \
    1.23  libnetfilter_cttimeout-dev libnetfilter_cthelper-dev libnetfilter_queue-dev \
    1.24  bison flex"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--mandir=/usr/share/man \
    1.32 -		$CONFIGURE_ARGS &&
    1.33 -	make && make DESTDIR=$DESTDIR install
    1.34 +compile_rules() {
    1.35 +	./configure $CONFIGURE_ARGS &&
    1.36 +	fix libtool &&
    1.37 +	make &&
    1.38 +	make DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 -	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/sbin $fs/sbin
    1.46 -	cp -a $install/usr/lib $fs/usr
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="libnfnetlink libnetfilter_conntrack libnetfilter_queue \
    1.50 +	libnetfilter_cthelper libmnl"
    1.51  }