wok-current view sshproxy/receipt @ rev 25308
updated sipsak (0.9.7 -> 0.9.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:59:52 2022 +0100 (2022-07-20) |
parents | 505d1daeed6c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sshproxy"
4 VERSION="0.6.0_beta2"
5 CATEGORY="network"
6 SHORT_DESC="SSH proxy to connect without passwords or keys."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="sshproxy_0.6.0~beta2.orig.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20091027113547/http://sshproxy-project.org/"
11 WGET_URL="https://mirror.xtom.jp/debian-archive/debian/pool/main/s/sshproxy/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="python paramiko python-mysql pycrypto python-ipaddress"
15 BUILD_DEPENDS="paramiko python-mysql pycrypto python-ipaddress"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/eldondevcg/sshproxy/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-|_|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR &&
28 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
29 install -d -m 755 $DESTDIR/usr/share/man/man5 &&
30 install -d -m 755 $DESTDIR/usr/share/man/man8 &&
31 install -d -m 755 $DESTDIR/usr/share/doc &&
32 install -m 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 &&
33 install -m 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 &&
34 install -m 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 &&
35 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/usr $fs
42 rm -rf $fs/usr/share/doc $fs/usr/share/man
43 }