wok view vpnc/receipt @ rev 15842
Up: dosfstools to 3.0.25.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 05:46:57 2014 +0000 (2014-01-27) |
parents | 7336f62c21cc |
children | 90198f573d18 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$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"
15 DEPENDS="libgcrypt libgpg-error glibc-base perl"
16 BUILD_DEPENDS="libgcrypt-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/var/run/vpnc
30 cp -a $install/etc $fs
31 cp -a $install/usr/local/bin $fs/usr
32 cp -a $install/usr/local/sbin $fs/usr
33 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install()
38 {
39 cat <<EOT
40 -------------
41 You can now update /etc/vpnc/default.conf
42 -------------
43 EOT
44 }