wok-current view autossh/receipt @ rev 24992

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