wok-current view openvpn/receipt @ rev 16362

Add flxine (FLTK video player using xine lib)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 23:50:12 2014 +0200 (2014-04-13)
parents 051931e905b0
children f498b54a20cd
line source
1 # SliTaz package receipt.
3 PACKAGE="openvpn"
4 VERSION="2.3.2"
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"
14 DEPENDS="lzo openssl"
15 BUILD_DEPENDS="lzo-dev openssl-dev libcrypto-dev pam-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --enable-password-save \
24 $CONFIGURE_ARGS &&
25 make &&
26 ( cd plugin/auth-pam/ ; make ) &&
27 ( cd plugin/down-root/ ; make ) &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/sbin
35 cp -a $install/usr/sbin/openvpn $fs/usr/sbin
36 }
38 # Post install/remove commands for Tazpkg.
39 post_install()
40 {
41 mkdir -p ${root}/etc/openvpn ${root}/var/run/openvpn
42 }
44 post_remove()
45 {
46 # remove config and pids
47 rm -rf ${root}/etc/openvpn ${root}/var/run/openvpn
48 }