wok-next diff miniupnpd/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 e6615350078d
children
line diff
     1.1 --- a/miniupnpd/receipt	Wed Feb 28 16:28:07 2018 +0200
     1.2 +++ b/miniupnpd/receipt	Thu Dec 05 15:20:58 2019 +0100
     1.3 @@ -3,33 +3,32 @@
     1.4  PACKAGE="miniupnpd"
     1.5  VERSION="2.0.20171212"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server."
     1.8 +SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="BSD"
    1.11 +WEB_SITE="http://miniupnp.tuxfamily.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://miniupnp.tuxfamily.org/"
    1.15  WGET_URL="$WEB_SITE/files/$TARBALL"
    1.16 -TAGS="upnp"
    1.17  
    1.18 -DEPENDS="iptables openssl"
    1.19  BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	mkdir -p $DESTDIR/usr/share/man/man8
    1.25 -	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
    1.26 +compile_rules() {
    1.27 +	mkdir -p $install/usr/share/man/man8
    1.28 +	sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' \
    1.29 +		netfilter/iptables_init.sh
    1.30 +
    1.31  	make -f Makefile.linux config.h
    1.32  	KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
    1.33  	sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h
    1.34  	make CFLAGS="-DIPTABLES_143" -f Makefile.linux &&
    1.35 -	make -f Makefile.linux DESTDIR=$DESTDIR install
    1.36 +	make -f Makefile.linux DESTDIR=$install install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	mkdir -p $fs/usr
    1.44  	cp -a $install/etc $fs
    1.45  	cp -a $install/usr/sbin $fs/usr
    1.46 +	DEPENDS="iptables openssl"
    1.47 +	TAGS="upnp"
    1.48  }