wok-current view sshproxy/receipt @ rev 24497

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 14:19:02 2022 +0000 (2022-02-19)
parents bd6074cbab4c
children 4175a6ed23ea
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="http://ftp.de.debian.org/debian/pool/main/s/sshproxy/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="python paramiko python-mysql pycrypto"
15 BUILD_DEPENDS="paramiko python-mysql pycrypto"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR &&
21 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
22 install -d -m 755 $DESTDIR/usr/share/man/man5 &&
23 install -d -m 755 $DESTDIR/usr/share/man/man8 &&
24 install -d -m 755 $DESTDIR/usr/share/doc &&
25 install -m 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 &&
26 install -m 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 &&
27 install -m 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 &&
28 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 rm -rf $fs/usr/share/doc $fs/usr/share/man
36 }