wok-current view duat/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents fff755dd0f58
children 0be8f2748172
line source
1 # SliTaz package receipt.
3 PACKAGE="duat"
4 VERSION="20150601"
5 CATEGORY="network"
6 SHORT_DESC="Versatile Tunneling/Proxy system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE"
10 WEB_SITE="https://code.google.com/archive/p/duat/"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/duat/$TARBALL"
13 DEPENDS="perl"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WGET_URL 2>/dev/null | \
19 sed '/duat,v/!d;s|.*duat,v ||;s| .*||;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/$PACKAGE $fs/usr/bin
27 chmod +x $fs/usr/bin/$PACKAGE
28 }