wok-next annotate miniupnpd/receipt @ rev 20453
Undo openssl split
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 16:28:07 2018 +0200 (2018-02-28) |
parents | deb814751077 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="miniupnpd" |
pascal@20407 | 4 VERSION="2.0.20171212" |
pascal@15721 | 5 CATEGORY="network" |
pascal@15721 | 6 SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server." |
pascal@15721 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15721 | 8 LICENSE="BSD" |
pascal@15721 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15721 | 10 WEB_SITE="http://miniupnp.tuxfamily.org/" |
pascal@15721 | 11 WGET_URL="$WEB_SITE/files/$TARBALL" |
pascal@19008 | 12 TAGS="upnp" |
pascal@15721 | 13 |
al@20453 | 14 DEPENDS="iptables openssl" |
pascal@20407 | 15 BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev" |
pascal@15721 | 16 |
pascal@15721 | 17 # Rules to configure and make the package. |
pascal@15721 | 18 compile_rules() |
pascal@15721 | 19 { |
pascal@15721 | 20 mkdir -p $DESTDIR/usr/share/man/man8 |
pascal@15721 | 21 sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh |
pascal@15721 | 22 make -f Makefile.linux config.h |
pascal@15721 | 23 KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) |
pascal@15721 | 24 sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h |
pascal@15721 | 25 make CFLAGS="-DIPTABLES_143" -f Makefile.linux && |
pascal@20407 | 26 make -f Makefile.linux DESTDIR=$DESTDIR install |
pascal@15721 | 27 } |
pascal@15721 | 28 |
pascal@15721 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 30 genpkg_rules() |
pascal@15721 | 31 { |
pascal@15721 | 32 mkdir -p $fs/usr |
pascal@15721 | 33 cp -a $install/etc $fs |
pascal@15721 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@15721 | 35 } |