SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sshproxy"

# SliTaz package receipt.

PACKAGE="sshproxy"
VERSION="0.6.0_beta2"
CATEGORY="network"
SHORT_DESC="SSH proxy to connect without passwords or keys."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="sshproxy_0.6.0~beta2.orig.tar.gz"
WEB_SITE="https://web.archive.org/web/20091027113547/http://sshproxy-project.org/"
WGET_URL="https://mirror.xtom.jp/debian-archive/debian/pool/main/s/sshproxy/$TARBALL"
TAGS="ssh"

DEPENDS="python paramiko python-mysql pycrypto python-ipaddress"
BUILD_DEPENDS="paramiko python-mysql pycrypto python-ipaddress"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/eldondevcg/sshproxy/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-|_|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$DESTDIR &&
    install -d -m 755 $DESTDIR/usr/share/man/man1 &&
    install -d -m 755 $DESTDIR/usr/share/man/man5 &&
    install -d -m 755 $DESTDIR/usr/share/man/man8 &&
    install -d -m 755 $DESTDIR/usr/share/doc &&
    install -m 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 &&
    install -m 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 &&
    install -m 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 &&
    install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
    rm -rf $fs/usr/share/doc $fs/usr/share/man
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)