wok-current view vpnc/receipt @ rev 2311
imagemagick: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 25 14:15:15 2009 +0000 (2009-02-25) |
parents | |
children | f135405894d8 |
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/var/run/vpnc
26 cp -a $_pkg/etc $fs
27 cp -a $_pkg/usr/local/bin $fs/usr
28 cp -a $_pkg/usr/local/sbin $fs/usr
29 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
30 }
32 # Pre and post install commands for Tazpkg.
33 post_install()
34 {
35 cat <<EOT
36 -------------
37 You can now update /etc/vpnc/default.conf
38 -------------
39 EOT
40 }