wok view duat/receipt @ rev 25605

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 10:59:53 2023 +0000 (16 months ago)
parents f5d20b5d25c2
children
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://web.archive.org/web/20210305171528/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 }