wok-current view vpnc-cert/receipt @ rev 22116
updated volumeicon again (0.4.6 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 02 16:47:12 2019 +0100 (2019-11-02) |
parents | a78610b2eb47 |
children | 34e801e0eb52 |
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 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/streambinder/vpnc"
12 WGET_URL="$WEB_SITE$TARBALL"
13 CONFIG_FILES="/etc/vpnc"
14 TAGS="vpn tunnel"
15 PROVIDE="vpnc"
17 DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto"
18 BUILD_DEPENDS="libgcrypt-dev openssl-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
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 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
27 install -d -m 755 $DESTDIR/usr/share/man/man8 &&
28 install -d -m 755 $DESTDIR/usr/share/doc &&
29 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 &&
30 install -m 644 $src/*.8 $DESTDIR/usr/share/man/man8 &&
31 install -m 644 $src/[A-Z][A-Z]* $src/C* $DESTDIR/usr/share/doc
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr $fs/var/run/vpnc
38 cp -a $install/etc $fs
39 cp -a $install/usr/local/bin $fs/usr
40 cp -a $install/usr/local/sbin $fs/usr
41 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script
42 }
44 # Pre and post install commands for Tazpkg.
45 post_install()
46 {
47 cat <<EOT
48 -------------
49 You can now update /etc/vpnc/default.conf
50 -------------
51 EOT
52 }