wok-current view vpnc/receipt @ rev 10748
Moved catalyst, linmodem-hsfmodem, linmodem-slmodem to undigest
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 12:34:37 2011 +0200 (2011-05-30) |
parents | 8f24df9b33cd |
children | 7336f62c21cc |
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_DEPENDS="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 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/var/run/vpnc
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/local/bin $fs/usr
30 cp -a $_pkg/usr/local/sbin $fs/usr
31 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 cat <<EOT
38 -------------
39 You can now update /etc/vpnc/default.conf
40 -------------
41 EOT
42 }