# SliTaz package receipt. PACKAGE="cloudvpn" VERSION="1.99.8" GITHASH="8f825058a12d4f555a25247bc8ec85c33fff3e9f" CATEGORY="network" SHORT_DESC="Mesh-networked Virtual Private Network." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.zip" WEB_SITE="https://freshmeat.sourceforge.net/projects/cloudvpn/" WGET_URL="https://github.com/BrainDamage/CloudVPN/archive/$GITHASH.zip" TAGS="vpn tunnel" BUILD_DEPENDS="gnutls-dev libgnutls zlib-dev automake" DEPENDS="gcc-lib-base gnutls zlib libtasn1" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/class="release"/!d;s|.*[0-9]">||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh ./configure \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }