wok-next view sshproxy/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents 38da7d1a1d04
children d5aab818505e
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 python-paramiko python-mysql pycrypto"
15 BUILD_DEPENDS="python 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 -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 }