wok rev 317
Add: openvpn
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 04 12:08:02 2008 +0000 (2008-03-04) |
parents | bf6fd97b33ab |
children | d0b3c00d4102 |
files | openvpn/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openvpn/receipt Tue Mar 04 12:08:02 2008 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openvpn" 1.7 +VERSION="2.0.9" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Full-featured open source SSL VPN solution." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://openvpn.net/" 1.13 +WGET_URL="${WEB_SITE}release/$TARBALL" 1.14 +DEPENDS="lzo openssl" 1.15 +BUILD_DEPENDS="lzo-dev openssl-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr \ 1.22 + $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/sbin 1.31 + cp -a $_pkg/usr/sbin/openvpn $fs/usr/sbin 1.32 + mkdir $fs/etc/openvpn 1.33 +} 1.34 +