wok-4.x view l2tpd/receipt @ rev 6790
Up: cdrit (1.1.11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Oct 18 23:40:23 2010 +0200 (2010-10-18) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="l2tpd"
4 VERSION="0.69"
5 CATEGORY="network"
6 SHORT_DESC="Layer 2 Virtual Private Network."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="vpn tunnel"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
18 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
19 sed -i 's/recv packet from.*,$/&\\n \\/' network.c
20 sed -i 's/If you do, please$/&\\n \\/' call.c
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/sbin
28 cp -a $src/l2tpd $fs/usr/sbin
29 }