wok-6.x view vpnc/receipt @ rev 6089

Add: fbxkb (0.6)
author Alexander Medvedev <devl547@gmail.com>
date Mon Aug 30 00:36:55 2010 +0000 (2010-08-30)
parents f135405894d8
children 8f24df9b33cd
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"
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 }