wok diff l2tpd/receipt @ rev 12085
fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:47:23 2012 -0500 (2012-03-09) |
parents | |
children | 2a5cc8208d36 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/l2tpd/receipt Fri Mar 09 21:47:23 2012 -0500 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="l2tpd" 1.7 +VERSION="0.69" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Layer 2 Virtual Private Network." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://sourceforge.net/projects/$PACKAGE/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 +TAGS="vpn tunnel" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + sed -i 's/dont know how to handle mandatory attribute.*"$/&,/' avp.c 1.21 + sed -i 's/static struct addr_ent/struct addr_ent/' aaa.c 1.22 + sed -i 's/recv packet from.*,$/&\\n \\/' network.c 1.23 + sed -i 's/If you do, please$/&\\n \\/' call.c 1.24 + make 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/sbin 1.31 + cp -a $src/l2tpd $fs/usr/sbin 1.32 +} 1.33 +