wok-next view l2tpd/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | e1c0edabdcb2 |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://sourceforge.net/projects/l2tpd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
16 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
17 sed -i 's/recv packet from.*,$/&\\n \\/' network.c
18 sed -i 's/If you do, please$/&\\n \\/' call.c
19 make &&
20 install -Dm755 $src/l2tpd $install/usr/sbin/l2tpd
21 }
23 genpkg_rules() {
24 copy @std
25 TAGS="vpn tunnel"
26 }