wok annotate autossh/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 5834cfb2b5ee |
children |
rev | line source |
---|---|
pascal@13388 | 1 # SliTaz package receipt. |
pascal@13388 | 2 |
pascal@13388 | 3 PACKAGE="autossh" |
Hans-G?nter@20728 | 4 VERSION="1.4g" |
pascal@13388 | 5 CATEGORY="network" |
Hans-G?nter@20728 | 6 TAGS="ssh" |
pascal@13388 | 7 SHORT_DESC="Automatically restart SSH sessions and tunnels." |
pascal@13388 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="CC-SA" |
pascal@20669 | 10 WEB_SITE="https://www.harding.motd.ca/autossh/" |
Hans-G?nter@20728 | 11 |
pascal@13388 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13388 | 13 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@13388 | 14 |
pascal@13388 | 15 DEPENDS="openssh" |
pascal@15613 | 16 BUILD_DEPENDS="openssh" |
pascal@13388 | 17 |
pascal@24373 | 18 # What is the latest version available today? |
pascal@24373 | 19 current_version() |
pascal@24373 | 20 { |
pascal@24373 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24373 | 22 sed '/Version/!d;s|.*ersion ||;s| .*||;q' |
pascal@24373 | 23 } |
pascal@24373 | 24 |
pascal@13388 | 25 # Rules to configure and make the package. |
pascal@13388 | 26 compile_rules() |
pascal@13388 | 27 { |
al@19275 | 28 ./configure \ |
al@19275 | 29 --prefix=/usr \ |
pascal@13388 | 30 $CONFIGURE_ARGS && |
pascal@13388 | 31 make |
al@19269 | 32 |
al@19275 | 33 cook_pick_manpages $src/autossh.1 |
pascal@13388 | 34 } |
pascal@13388 | 35 |
pascal@13388 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13388 | 37 genpkg_rules() |
pascal@13388 | 38 { |
pascal@13388 | 39 mkdir -p $fs/usr/bin |
pascal@13389 | 40 cp -a $src/autossh $fs/usr/bin |
pascal@13388 | 41 } |