wok-6.x annotate l2tpd/receipt @ rev 5034

tazbb: clean flavor status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 03 11:58:08 2010 +0100 (2010-03-03)
parents
children 2a5cc8208d36
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@4920 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4920 9 WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
pascal@4920 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@4920 11 TAGS="vpn tunnel"
pascal@4920 12
pascal@4920 13 # Rules to configure and make the package.
pascal@4920 14 compile_rules()
pascal@4920 15 {
pascal@4920 16 cd $src
pascal@4920 17 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
pascal@4920 18 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
pascal@4920 19 sed -i 's/recv packet from.*,$/&\\n \\/' network.c
pascal@4920 20 sed -i 's/If you do, please$/&\\n \\/' call.c
pascal@4920 21 make
pascal@4920 22 }
pascal@4920 23
pascal@4920 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4920 25 genpkg_rules()
pascal@4920 26 {
pascal@4920 27 mkdir -p $fs/usr/sbin
pascal@4920 28 cp -a $src/l2tpd $fs/usr/sbin
pascal@4920 29 }
pascal@4920 30