wok diff l2tpd/receipt @ rev 15134

yad, yad-gtk3: up 0.22.1 (yad-gtk3 may break); iso-codes up 3.45
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 15 11:23:37 2013 +0300 (2013-08-15)
parents
children 2a5cc8208d36
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/l2tpd/receipt	Thu Aug 15 11:23:37 2013 +0300
     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 +