wok annotate duat/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | f5d20b5d25c2 |
children |
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@25418 | 10 WEB_SITE="https://web.archive.org/web/20210305171528/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 } |