wok annotate duat/receipt @ rev 24910

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