wok view vpnc-cert/receipt @ rev 14938
Up: eio-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:43 2013 +0200 (2013-08-08) |
parents | 45ebb0c2566a |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vpnc-cert"
4 SOURCE="vpnc"
5 VERSION="0.5.3"
6 CATEGORY="network"
7 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
11 WGET_URL="$WEB_SITE$TARBALL"
12 CONFIG_FILES="/etc/vpnc"
13 TAGS="vpn tunnel"
14 PROVIDES="vpnc"
16 DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto"
17 BUILD_DEPENDS="libgcrypt-dev openssl-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's|^#OPENSSL|OPENSSL|' Makefile # breaks GPL license
24 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/var/run/vpnc
32 cp -a $install/etc $fs
33 cp -a $install/usr/local/bin $fs/usr
34 cp -a $install/usr/local/sbin $fs/usr
35 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
36 }
38 # Pre and post install commands for Tazpkg.
39 post_install()
40 {
41 cat <<EOT
42 -------------
43 You can now update /etc/vpnc/default.conf
44 -------------
45 EOT
46 }