wok-6.x 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 13813512f1db
files get-rar/receipt miniupnpc/receipt miniupnpd/receipt
line diff
     1.1 --- a/get-rar/receipt	Mon Dec 18 11:31:21 2017 +0100
     1.2 +++ b/get-rar/receipt	Mon Dec 18 12:30:14 2017 +0100
     1.3 @@ -12,5 +12,5 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	install -Dm0755 $stuff/get-rar $install/usr/bin/get-rar
     1.8 +	install -Dm0755 $stuff/get-rar $fs/usr/bin/get-rar
     1.9  }
     2.1 --- a/miniupnpc/receipt	Mon Dec 18 11:31:21 2017 +0100
     2.2 +++ b/miniupnpc/receipt	Mon Dec 18 12:30:14 2017 +0100
     2.3 @@ -18,7 +18,7 @@
     2.4  compile_rules()
     2.5  {
     2.6  	make &&
     2.7 -	INSTALLPREFIX=$DESTDIR/usr make install
     2.8 +	make DESTDIR=$DESTDIR install
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/miniupnpd/receipt	Mon Dec 18 11:31:21 2017 +0100
     3.2 +++ b/miniupnpd/receipt	Mon Dec 18 12:30:14 2017 +0100
     3.3 @@ -11,20 +11,19 @@
     3.4  WGET_URL="$WEB_SITE/files/$TARBALL"
     3.5  TAGS="upnp"
     3.6  
     3.7 -DEPENDS="iptables"
     3.8 -BUILD_DEPENDS="iptables-dev libnfnetlink-dev"
     3.9 +DEPENDS="iptables libssl"
    3.10 +BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev"
    3.11  
    3.12  # Rules to configure and make the package.
    3.13  compile_rules()
    3.14  {
    3.15 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 
    3.16  	mkdir -p $DESTDIR/usr/share/man/man8
    3.17  	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
    3.18  	make -f Makefile.linux config.h
    3.19  	KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
    3.20  	sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h
    3.21  	make CFLAGS="-DIPTABLES_143" -f Makefile.linux &&
    3.22 -	PREFIX=$DESTDIR make -f Makefile.linux install
    3.23 +	make -f Makefile.linux DESTDIR=$DESTDIR install
    3.24  }
    3.25  
    3.26  # Rules to gen a SliTaz package suitable for Tazpkg.