wok-current view cloudvpn/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents b0069c845544
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cloudvpn"
4 VERSION="1.99.8"
5 GITHASH="8f825058a12d4f555a25247bc8ec85c33fff3e9f"
6 CATEGORY="network"
7 SHORT_DESC="Mesh-networked Virtual Private Network."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://freshmeat.sourceforge.net/projects/cloudvpn/"
12 WGET_URL="https://github.com/BrainDamage/CloudVPN/archive/$GITHASH.zip"
13 TAGS="vpn tunnel"
15 BUILD_DEPENDS="gnutls-dev libgnutls zlib-dev automake"
16 DEPENDS="gcc-lib-base gnutls zlib libtasn1"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/class="release"/!d;s|.*[0-9]">||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh
29 ./configure \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }