wok-next view vpnc/receipt @ rev 14296

Up: embryo (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:08:14 2013 +0200 (2013-04-07)
parents 7130b9831b50
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="vpnc"
4 VERSION="0.5.3"
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 CONFIG_FILES="/etc/vpnc"
12 TAGS="vpn tunnel"
14 DEPENDS="libgcrypt libgpg-error glibc-base perl"
15 BUILD_DEPENDS="libgcrypt-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/var/run/vpnc
29 cp -a $install/etc $fs
30 cp -a $install/usr/local/bin $fs/usr
31 cp -a $install/usr/local/sbin $fs/usr
32 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 cat <<EOT
39 -------------
40 You can now update /etc/vpnc/default.conf
41 -------------
42 EOT
43 }