wok-current view miniupnpd/receipt @ rev 19336
Remove get-google-chrome: 32bit is discontinued
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jul 17 21:37:21 2016 -0400 (2016-07-17) |
parents | 17e313b5b9c1 |
children | c369d47371f2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="miniupnpd"
4 VERSION="1.8"
5 CATEGORY="network"
6 SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://miniupnp.tuxfamily.org/"
11 WGET_URL="$WEB_SITE/files/$TARBALL"
12 TAGS="upnp"
14 DEPENDS="iptables"
15 BUILD_DEPENDS="iptables-dev libnfnetlink-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 mkdir -p $DESTDIR/usr/share/man/man8
22 sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
23 make -f Makefile.linux config.h
24 KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
25 sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h
26 make CFLAGS="-DIPTABLES_143" -f Makefile.linux &&
27 PREFIX=$DESTDIR make -f Makefile.linux install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/etc $fs
35 cp -a $install/usr/sbin $fs/usr
36 }