wok-next annotate vpnc/receipt @ rev 5223
Add liblinebreak
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Apr 07 12:52:46 2010 +0000 (2010-04-07) |
parents | 8c8ce3310a17 |
children | 85036876c1c4 |
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" |
pascal@1640 | 12 BUILD_DEV="linux-headers 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@1640 | 20 make && make DESTDIR=$PWD/_pkg install |
pascal@1640 | 21 } |
pascal@1640 | 22 |
pascal@1640 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1640 | 24 genpkg_rules() |
pascal@1640 | 25 { |
pascal@1640 | 26 mkdir -p $fs/usr $fs/var/run/vpnc |
pascal@1640 | 27 cp -a $_pkg/etc $fs |
pascal@1640 | 28 cp -a $_pkg/usr/local/bin $fs/usr |
pascal@1640 | 29 cp -a $_pkg/usr/local/sbin $fs/usr |
pascal@1640 | 30 sed -i 's|/usr/local/|/usr/|g' $fs/etc/vpnc/vpnc-script |
pascal@1640 | 31 } |
pascal@1640 | 32 |
pascal@1640 | 33 # Pre and post install commands for Tazpkg. |
pascal@1640 | 34 post_install() |
pascal@1640 | 35 { |
pascal@1640 | 36 cat <<EOT |
pascal@1640 | 37 ------------- |
pascal@1640 | 38 You can now update /etc/vpnc/default.conf |
pascal@1640 | 39 ------------- |
pascal@1640 | 40 EOT |
pascal@1640 | 41 } |
pascal@1640 | 42 |