wok view l2tpd/receipt @ rev 11293
firefox-langpack-*: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 11 09:27:28 2011 +0000 (2011-11-11) |
parents | |
children | 2a5cc8208d36 |
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 }