wok view vpnc/receipt @ rev 21483
updated mpfr and mpfr-dev (3.1.5 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 01 10:09:51 2019 +0100 (2019-05-01) |
parents | 38da7d1a1d04 |
children | 3937da23fe1e |
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="https://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 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
25 install -d -m 755 $DESTDIR/usr/share/man/man8 &&
26 install -d -m 755 $DESTDIR/usr/share/doc &&
27 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
28 install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
29 install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr $fs/var/run/vpnc
36 cp -a $install/etc $fs
37 cp -a $install/usr/local/bin $fs/usr
38 cp -a $install/usr/local/sbin $fs/usr
39 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 cat <<EOT
46 -------------
47 You can now update /etc/vpnc/default.conf
48 -------------
49 EOT
50 }