# HG changeset patch # User Pascal Bellard # Date 1224931848 0 # Node ID 8c8ce3310a17b5c7e9eeb8089a7714406c43665e # Parent b44b5af089e53a098b295a97877bdeb9246b5f11 Add vpnc diff -r b44b5af089e5 -r 8c8ce3310a17 vpnc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vpnc/receipt Sat Oct 25 10:50:48 2008 +0000 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="vpnc" +VERSION="0.5.1" +CATEGORY="network" +SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" +WGET_URL="$WEB_SITE$TARBALL" +DEPENDS="libgcrypt libgpg-error glibc-base perl" +BUILD_DEV="linux-headers libgcrypt-dev openssl-dev" +CONFIG_FILES="/etc/vpnc" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/var/run/vpnc + cp -a $_pkg/etc $fs + cp -a $_pkg/usr/local/bin $fs/usr + cp -a $_pkg/usr/local/sbin $fs/usr + sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + cat <