wok annotate cloudvpn/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (21 months ago) |
parents | b0069c845544 |
children |
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@25039 | 5 GITHASH="8f825058a12d4f555a25247bc8ec85c33fff3e9f" |
pascal@4918 | 6 CATEGORY="network" |
pascal@4918 | 7 SHORT_DESC="Mesh-networked Virtual Private Network." |
pascal@4918 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL3" |
pascal@25039 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@25510 | 11 WEB_SITE="https://freshmeat.sourceforge.net/projects/cloudvpn/" |
pascal@25039 | 12 WGET_URL="https://github.com/BrainDamage/CloudVPN/archive/$GITHASH.zip" |
pascal@15579 | 13 TAGS="vpn tunnel" |
pascal@15579 | 14 |
pascal@20569 | 15 BUILD_DEPENDS="gnutls-dev libgnutls zlib-dev automake" |
pascal@5026 | 16 DEPENDS="gcc-lib-base gnutls zlib libtasn1" |
pascal@4918 | 17 |
pascal@24759 | 18 # What is the latest version available today? |
pascal@24759 | 19 current_version() |
pascal@24759 | 20 { |
pascal@24759 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24759 | 22 sed '/class="release"/!d;s|.*[0-9]">||;s|<.*||;q' |
pascal@24759 | 23 } |
pascal@24759 | 24 |
pascal@4918 | 25 # Rules to configure and make the package. |
pascal@4918 | 26 compile_rules() |
pascal@4918 | 27 { |
pascal@4918 | 28 ./autogen.sh |
slaxemulator@11084 | 29 ./configure \ |
slaxemulator@11084 | 30 $CONFIGURE_ARGS && |
pascal@4918 | 31 make && |
slaxemulator@11084 | 32 make DESTDIR=$DESTDIR install |
pascal@4918 | 33 } |
pascal@4918 | 34 |
pascal@4918 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4918 | 36 genpkg_rules() |
pascal@4918 | 37 { |
pascal@4918 | 38 mkdir -p $fs/usr |
pascal@15579 | 39 cp -a $install/usr/bin $fs/usr |
pascal@4918 | 40 } |
pascal@4918 | 41 |