wok view openvpn/receipt @ rev 10688
centerim: libgpg-error is also needed now
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 20:18:44 2011 +0200 (2011-05-27) |
parents | 744bfcbb6e1d |
children | 065613bca28b |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvpn"
4 VERSION="2.2.0"
5 CATEGORY="network"
6 SHORT_DESC="Full-featured open source SSL VPN solution."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://openvpn.net/"
10 WGET_URL="http://swupdate.openvpn.net/community/releases/$TARBALL"
11 DEPENDS="lzo openssl"
12 BUILD_DEPENDS="lzo-dev openssl-dev libcrypto-dev pam pam-dev"
13 TAGS="vpn tunnel network"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 ( cd plugin/auth-pam/ ; make ) &&
23 ( cd plugin/down-root/ ; make ) &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/sbin
31 cp -a $_pkg/usr/sbin/openvpn $fs/usr/sbin
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 mkdir -p $1/etc/openvpn $1/var/run/openvpn
38 }
40 post_remove()
41 {
42 # remove config and pids
43 rm -rf $1/etc/openvpn $1/var/run/openvpn
44 }