wok-6.x annotate cloudvpn/receipt @ rev 10730
slitaz-mercurial-style: fix TARBALL
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 29 04:12:19 2011 +0200 (2011-05-29) |
parents | 12f8af5fe3c8 |
children | 531e1bc559d9 |
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@5026 | 12 DEPENDS="gcc-lib-base gnutls zlib libtasn1" |
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 |