wok-6.x view duat/receipt @ rev 24909
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:28:38 2022 +0000 (2022-04-09) |
parents | a6b997a82f39 |
children | f5d20b5d25c2 |
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 - $WEB_SITE 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 }