wok-4.x view l2tpd/receipt @ rev 5366
Up: xorg-xf86-video-i740 (1.3.2) - I added xorg-server-dev to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 29 10:13:10 2010 +0000 (2010-04-29) |
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 }