wok-6.x view openvpn/receipt @ rev 17200
Up qupzilla (1.8.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 08 17:13:02 2014 +0200 (2014-10-08) |
parents | cc6e05d2cb9a |
children | 63d2fe54fb44 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvpn"
4 VERSION="2.3.3"
5 CATEGORY="network"
6 SHORT_DESC="Full-featured open source SSL VPN solution."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openvpn.net/"
11 WGET_URL="http://swupdate.openvpn.net/community/releases/$TARBALL"
12 TAGS="vpn tunnel network"
13 HOST_ARCH="i486 arm"
15 DEPENDS="lzo libcrypto openssl"
16 BUILD_DEPENDS="lzo-dev libcrypto-dev openssl-dev pam-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --enable-password-save \
25 $CONFIGURE_ARGS &&
26 make &&
27 ( cd plugin/auth-pam/ ; make ) &&
28 ( cd plugin/down-root/ ; make ) &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/sbin
36 cp -a $install/usr/sbin/openvpn $fs/usr/sbin
37 cp -a $stuff/etc $fs
38 chown root.root $fs/etc/init.d/*
39 chmod 0644 $fs/etc/openvpn/openvpn.conf
40 }
42 post_remove()
43 {
44 # remove config
45 rm -rf ${root}/etc/openvpn
46 }