wok-next view l2tpd/receipt @ rev 18790

busybox: remove kmod & core-util-mount links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 06 17:56:34 2016 +0100 (2016-01-06)
parents 12f8af5fe3c8
children e1c0edabdcb2
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="vpn tunnel"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
19 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
20 sed -i 's/recv packet from.*,$/&\\n \\/' network.c
21 sed -i 's/If you do, please$/&\\n \\/' call.c
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/sbin
29 cp -a $src/l2tpd $fs/usr/sbin
30 }