wok-4.x diff l2tpd/receipt @ rev 8203

imported patch toolchain/ncurses.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/l2tpd/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="l2tpd"
     1.7 +VERSION="0.69"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Layer 2 Virtual Private Network."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +TAGS="vpn tunnel"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
    1.21 +	sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
    1.22 +	sed -i 's/recv packet from.*,$/&\\n \\/' network.c
    1.23 +	sed -i 's/If you do, please$/&\\n \\/' call.c
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/sbin
    1.31 +	cp -a $src/l2tpd $fs/usr/sbin
    1.32 +}
    1.33 +