wok-undigest view miniupnpd/receipt @ rev 1023

Removing ManaPlus
author Brenton Scott <admin@trixarian.net>
date Sun Jun 09 16:45:38 2013 +0200 (2013-06-09)
parents
children 58d2d7320ed2
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://miniupnp.tuxfamily.org/"
10 WGET_URL="$WEB_SITE/files/$TARBALL"
12 DEPENDS="iptables"
13 BUILD_DEPENDS="iptables-dev libnfnetlink-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' netfilter/iptables_init.sh
19 make -f Makefile.linux config.h
20 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
21 sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," config.h
22 make -f Makefile.linux &&
23 INSTALLPREFIX=$DESTDIR/usr make -f Makefile.linux install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }