SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "autossh"

# SliTaz package receipt.

PACKAGE="autossh"
VERSION="1.4g"
CATEGORY="network"
TAGS="ssh"
SHORT_DESC="Automatically restart SSH sessions and tunnels."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="CC-SA"
WEB_SITE="https://www.harding.motd.ca/autossh/"

TARBALL="$PACKAGE-$VERSION.tgz"
WGET_URL="${WEB_SITE}$TARBALL"

DEPENDS="openssh"
BUILD_DEPENDS="openssh"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Version/!d;s|.*ersion ||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make

    cook_pick_manpages $src/autossh.1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/autossh $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)