wok-6.x annotate l2tpd/receipt @ rev 16211
Up mesa-wayland-dev (9.1.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 11:30:38 2014 +0000 (2014-03-31) |
parents | 12f8af5fe3c8 |
children | e09f8538625f |
rev | line source |
---|---|
pascal@4920 | 1 # SliTaz package receipt. |
pascal@4920 | 2 |
pascal@4920 | 3 PACKAGE="l2tpd" |
pascal@4920 | 4 VERSION="0.69" |
pascal@4920 | 5 CATEGORY="network" |
pascal@4920 | 6 SHORT_DESC="Layer 2 Virtual Private Network." |
pascal@4920 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
pascal@4920 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4920 | 10 WEB_SITE="http://sourceforge.net/projects/$PACKAGE/" |
pascal@4920 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4920 | 12 TAGS="vpn tunnel" |
pascal@4920 | 13 |
pascal@4920 | 14 # Rules to configure and make the package. |
pascal@4920 | 15 compile_rules() |
pascal@4920 | 16 { |
pascal@4920 | 17 cd $src |
pascal@4920 | 18 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c |
pascal@4920 | 19 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c |
pascal@4920 | 20 sed -i 's/recv packet from.*,$/&\\n \\/' network.c |
pascal@4920 | 21 sed -i 's/If you do, please$/&\\n \\/' call.c |
pascal@4920 | 22 make |
pascal@4920 | 23 } |
pascal@4920 | 24 |
pascal@4920 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4920 | 26 genpkg_rules() |
pascal@4920 | 27 { |
pascal@4920 | 28 mkdir -p $fs/usr/sbin |
pascal@4920 | 29 cp -a $src/l2tpd $fs/usr/sbin |
pascal@4920 | 30 } |
pascal@4920 | 31 |