wok-next rev 20407

Up miniupnp (2.0.20171212)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 18 12:55:43 2017 +0100 (2017-12-18)
parents 2d54d154d5ca
children 71a9af106745
files miniupnpc/receipt miniupnpd/receipt
line diff
     1.1 --- a/miniupnpc/receipt	Fri Dec 08 02:55:48 2017 +0200
     1.2 +++ b/miniupnpc/receipt	Mon Dec 18 12:55:43 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="miniupnpc"
     1.7 -VERSION="1.8"
     1.8 +VERSION="2.0.20171212"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications client."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -18,7 +18,7 @@
    1.13  compile_rules()
    1.14  {
    1.15  	make &&
    1.16 -	INSTALLPREFIX=$DESTDIR/usr make install
    1.17 +	make DESTDIR=$DESTDIR install
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/miniupnpd/receipt	Fri Dec 08 02:55:48 2017 +0200
     2.2 +++ b/miniupnpd/receipt	Mon Dec 18 12:55:43 2017 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="miniupnpd"
     2.7 -VERSION="1.8"
     2.8 +VERSION="2.0.20171212"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -11,20 +11,19 @@
    2.13  WGET_URL="$WEB_SITE/files/$TARBALL"
    2.14  TAGS="upnp"
    2.15  
    2.16 -DEPENDS="iptables"
    2.17 -BUILD_DEPENDS="iptables-dev libnfnetlink-dev"
    2.18 +DEPENDS="iptables libssl"
    2.19 +BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 
    2.25  	mkdir -p $DESTDIR/usr/share/man/man8
    2.26  	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
    2.27  	make -f Makefile.linux config.h
    2.28  	KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
    2.29  	sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h
    2.30  	make CFLAGS="-DIPTABLES_143" -f Makefile.linux &&
    2.31 -	PREFIX=$DESTDIR make -f Makefile.linux install
    2.32 +	make -f Makefile.linux DESTDIR=$DESTDIR install
    2.33  }
    2.34  
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.