wok-current diff vpnc/receipt @ rev 14254
Add kexec-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 26 11:53:15 2013 +0100 (2013-03-26) |
parents | 7130b9831b50 |
children | 7896f0694ef6 |
line diff
1.1 --- a/vpnc/receipt Sun Oct 10 15:15:08 2010 +0000 1.2 +++ b/vpnc/receipt Tue Mar 26 11:53:15 2013 +0100 1.3 @@ -1,33 +1,34 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="vpnc" 1.7 -VERSION="0.5.1" 1.8 +VERSION="0.5.3" 1.9 CATEGORY="network" 1.10 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" 1.14 WGET_URL="$WEB_SITE$TARBALL" 1.15 +CONFIG_FILES="/etc/vpnc" 1.16 +TAGS="vpn tunnel" 1.17 + 1.18 DEPENDS="libgcrypt libgpg-error glibc-base perl" 1.19 BUILD_DEPENDS="libgcrypt-dev openssl-dev" 1.20 -CONFIG_FILES="/etc/vpnc" 1.21 -TAGS="vpn tunnel" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 cd $src 1.27 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile 1.28 - make && make DESTDIR=$PWD/_pkg install 1.29 + make && make DESTDIR=$DESTDIR install 1.30 } 1.31 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 mkdir -p $fs/usr $fs/var/run/vpnc 1.36 - cp -a $_pkg/etc $fs 1.37 - cp -a $_pkg/usr/local/bin $fs/usr 1.38 - cp -a $_pkg/usr/local/sbin $fs/usr 1.39 + cp -a $install/etc $fs 1.40 + cp -a $install/usr/local/bin $fs/usr 1.41 + cp -a $install/usr/local/sbin $fs/usr 1.42 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script 1.43 } 1.44