wok-next annotate l2tpd/receipt @ rev 21206
try to build assaultcube again
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 09:25:03 2019 +0100 (2019-12-02) |
parents | e1c0edabdcb2 |
children |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
pascal@4920 | 2 |
pascal@4920 | 3 PACKAGE="l2tpd" |
pascal@4920 | 4 VERSION="0.69" |
pascal@4920 | 5 CATEGORY="network" |
al@20473 | 6 SHORT_DESC="Layer 2 Virtual Private Network" |
pascal@4920 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
al@20906 | 9 WEB_SITE="https://sourceforge.net/projects/l2tpd/" |
al@20473 | 10 |
pascal@4920 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4920 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4920 | 13 |
al@20473 | 14 compile_rules() { |
pascal@4920 | 15 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c |
pascal@4920 | 16 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c |
pascal@4920 | 17 sed -i 's/recv packet from.*,$/&\\n \\/' network.c |
pascal@4920 | 18 sed -i 's/If you do, please$/&\\n \\/' call.c |
al@20473 | 19 make && |
al@20473 | 20 install -Dm755 $src/l2tpd $install/usr/sbin/l2tpd |
pascal@4920 | 21 } |
pascal@4920 | 22 |
al@20473 | 23 genpkg_rules() { |
al@20473 | 24 copy @std |
al@20473 | 25 TAGS="vpn tunnel" |
pascal@4920 | 26 } |