wok-current annotate cloudvpn/receipt @ rev 4920
Add l2tpd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 15 10:36:28 2010 +0100 (2010-02-15) |
parents | b12a3c212a62 |
children | b68b4f934ba7 |
rev | line source |
---|---|
pascal@4918 | 1 # SliTaz package receipt. |
pascal@4918 | 2 |
pascal@4918 | 3 PACKAGE="cloudvpn" |
pascal@4918 | 4 VERSION="1.99.8" |
pascal@4918 | 5 CATEGORY="network" |
pascal@4918 | 6 SHORT_DESC="Mesh-networked Virtual Private Network." |
pascal@4918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4918 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4918 | 9 WEB_SITE="http://www.e-x-a.org/?view=cloudvpn" |
pascal@4918 | 10 WGET_URL="http://www.e-x-a.org/releases/$TARBALL" |
pascal@4918 | 11 BUILD_DEPENDS="gnutls-dev zlib-dev" |
pascal@4918 | 12 DEPENDS="gcc-lib-base gnutls zlib" |
pascal@4920 | 13 TAGS="vpn tunnel" |
pascal@4918 | 14 |
pascal@4918 | 15 # Rules to configure and make the package. |
pascal@4918 | 16 compile_rules() |
pascal@4918 | 17 { |
pascal@4918 | 18 cd $src |
pascal@4918 | 19 ./autogen.sh |
pascal@4918 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4918 | 21 --mandir=/usr/share/man \ |
pascal@4918 | 22 $CONFIGURE_ARGS && |
pascal@4918 | 23 make && |
pascal@4918 | 24 make DESTDIR=$PWD/_pkg install |
pascal@4918 | 25 } |
pascal@4918 | 26 |
pascal@4918 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4918 | 28 genpkg_rules() |
pascal@4918 | 29 { |
pascal@4918 | 30 mkdir -p $fs/usr |
pascal@4918 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@4918 | 32 } |
pascal@4918 | 33 |