wok diff vpnc/receipt @ rev 2232
Up: tazwok (2.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 13 00:19:48 2009 +0100 (2009-02-13) |
parents | |
children | f135405894d8 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vpnc/receipt Fri Feb 13 00:19:48 2009 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="vpnc" 1.7 +VERSION="0.5.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" 1.13 +WGET_URL="$WEB_SITE$TARBALL" 1.14 +DEPENDS="libgcrypt libgpg-error glibc-base perl" 1.15 +BUILD_DEV="linux-headers libgcrypt-dev openssl-dev" 1.16 +CONFIG_FILES="/etc/vpnc" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + make && make DESTDIR=$PWD/_pkg install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr $fs/var/run/vpnc 1.29 + cp -a $_pkg/etc $fs 1.30 + cp -a $_pkg/usr/local/bin $fs/usr 1.31 + cp -a $_pkg/usr/local/sbin $fs/usr 1.32 + sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script 1.33 +} 1.34 + 1.35 +# Pre and post install commands for Tazpkg. 1.36 +post_install() 1.37 +{ 1.38 + cat <<EOT 1.39 +------------- 1.40 +You can now update /etc/vpnc/default.conf 1.41 +------------- 1.42 +EOT 1.43 +} 1.44 +