wok-current annotate vpnc/receipt @ rev 11393
Fix: polkit needs intltool to be compiled
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 05:13:50 2011 +0100 (2011-12-10) |
parents | 8f24df9b33cd |
children | 7336f62c21cc |
rev | line source |
---|---|
pascal@1640 | 1 # SliTaz package receipt. |
pascal@1640 | 2 |
pascal@1640 | 3 PACKAGE="vpnc" |
pascal@1640 | 4 VERSION="0.5.1" |
pascal@1640 | 5 CATEGORY="network" |
pascal@1640 | 6 SHORT_DESC="VPN client compatible with Cisco's EasyVPN equipment." |
pascal@1640 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1640 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1640 | 9 WEB_SITE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" |
pascal@1640 | 10 WGET_URL="$WEB_SITE$TARBALL" |
pascal@1640 | 11 DEPENDS="libgcrypt libgpg-error glibc-base perl" |
slaxemulator@6640 | 12 BUILD_DEPENDS="libgcrypt-dev openssl-dev" |
pascal@1640 | 13 CONFIG_FILES="/etc/vpnc" |
pascal@3764 | 14 TAGS="vpn tunnel" |
pascal@1640 | 15 |
pascal@1640 | 16 # Rules to configure and make the package. |
pascal@1640 | 17 compile_rules() |
pascal@1640 | 18 { |
pascal@1640 | 19 cd $src |
pascal@5883 | 20 sed -i "s|perl -w .*|&\\n sed -i '/Automatically/,\$\$!d' vpnc-debug.h|" Makefile |
pascal@1640 | 21 make && make DESTDIR=$PWD/_pkg install |
pascal@1640 | 22 } |
pascal@1640 | 23 |
pascal@1640 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1640 | 25 genpkg_rules() |
pascal@1640 | 26 { |
pascal@1640 | 27 mkdir -p $fs/usr $fs/var/run/vpnc |
pascal@1640 | 28 cp -a $_pkg/etc $fs |
pascal@1640 | 29 cp -a $_pkg/usr/local/bin $fs/usr |
pascal@1640 | 30 cp -a $_pkg/usr/local/sbin $fs/usr |
pascal@1640 | 31 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script |
pascal@1640 | 32 } |
pascal@1640 | 33 |
pascal@1640 | 34 # Pre and post install commands for Tazpkg. |
pascal@1640 | 35 post_install() |
pascal@1640 | 36 { |
pascal@1640 | 37 cat <<EOT |
pascal@1640 | 38 ------------- |
pascal@1640 | 39 You can now update /etc/vpnc/default.conf |
pascal@1640 | 40 ------------- |
pascal@1640 | 41 EOT |
pascal@1640 | 42 } |
pascal@1640 | 43 |