wok-next view vpnc/receipt @ rev 4723

Up: vte* (0.23.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 05 15:58:12 2010 +0100 (2010-01-05)
parents 8c8ce3310a17
children 85036876c1c4
line source
1 # SliTaz package receipt.
3 PACKAGE="vpnc"
4 VERSION="0.5.1"
5 CATEGORY="network"
6 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
10 WGET_URL="$WEB_SITE$TARBALL"
11 DEPENDS="libgcrypt libgpg-error glibc-base perl"
12 BUILD_DEV="linux-headers libgcrypt-dev openssl-dev"
13 CONFIG_FILES="/etc/vpnc"
14 TAGS="vpn tunnel"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/var/run/vpnc
27 cp -a $_pkg/etc $fs
28 cp -a $_pkg/usr/local/bin $fs/usr
29 cp -a $_pkg/usr/local/sbin $fs/usr
30 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 cat <<EOT
37 -------------
38 You can now update /etc/vpnc/default.conf
39 -------------
40 EOT
41 }