wok-4.x view openvpn/receipt @ rev 2176
Add h8300-binutils, h8300-gcc3 and h8300-gdb (thanks Matthew)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 16:52:33 2009 +0000 (2009-02-08) |
parents | 10710b8535bc |
children | 531c46fb873d |
line source
1 # SliTaz package receipt.
3 PACKAGE="openvpn"
4 VERSION="2.0.9"
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="${WEB_SITE}release/$TARBALL"
11 DEPENDS="lzo openssl"
12 BUILD_DEPENDS="lzo-dev openssl-dev libcrypto-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/sbin
28 cp -a $_pkg/usr/sbin/openvpn $fs/usr/sbin
29 }
31 # Post install/remove commands for Tazpkg.
32 post_install()
33 {
34 mkdir -p $1/etc/openvpn $1/var/run/openvpn
35 }
37 post_remove()
38 {
39 # remove config and pids
40 rm -rf /etc/openvpn /var/run/openvpn
41 }