wok view sshproxy/receipt @ rev 19369

openssh: add doc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 09 11:03:52 2016 +0200 (2016-08-09)
parents 7390f8de9846
children 38da7d1a1d04
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="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="python 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 -n 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 &&
26 install -n 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 &&
27 install -n 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 &&
28 install -n 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 }