wok diff miniupnpd/receipt @ rev 20153

Up miniupnp (2.0.20171212), fix get-rar url (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 18 12:30:14 2017 +0100 (2017-12-18)
parents c369d47371f2
children 3705d68ed8f3
line diff
     1.1 --- a/miniupnpd/receipt	Mon Dec 18 11:31:21 2017 +0100
     1.2 +++ b/miniupnpd/receipt	Mon Dec 18 12:30:14 2017 +0100
     1.3 @@ -11,20 +11,19 @@
     1.4  WGET_URL="$WEB_SITE/files/$TARBALL"
     1.5  TAGS="upnp"
     1.6  
     1.7 -DEPENDS="iptables"
     1.8 -BUILD_DEPENDS="iptables-dev libnfnetlink-dev"
     1.9 +DEPENDS="iptables libssl"
    1.10 +BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 
    1.16  	mkdir -p $DESTDIR/usr/share/man/man8
    1.17  	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
    1.18  	make -f Makefile.linux config.h
    1.19  	KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
    1.20  	sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h
    1.21  	make CFLAGS="-DIPTABLES_143" -f Makefile.linux &&
    1.22 -	PREFIX=$DESTDIR make -f Makefile.linux install
    1.23 +	make -f Makefile.linux DESTDIR=$DESTDIR install
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.