wok-6.x view l2tpd/receipt @ rev 7832

Add get-LibreOffice (v1.0) - script (based on get-OpenOffice3) to download and package LibreOffice w/out lang. packs
author Ben Arnold <ben@seawolfsanctuary.com>
date Sun Dec 26 22:00:38 2010 +0000 (2010-12-26)
parents
children 2a5cc8208d36
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://sourceforge.net/projects/$PACKAGE/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="vpn tunnel"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c
18 sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c
19 sed -i 's/recv packet from.*,$/&\\n \\/' network.c
20 sed -i 's/If you do, please$/&\\n \\/' call.c
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/sbin
28 cp -a $src/l2tpd $fs/usr/sbin
29 }