wok-6.x view sshproxy/receipt @ rev 20387
Add tcl2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 23 11:56:52 2018 +0200 (2018-06-23) |
parents | 90198f573d18 |
children | 8dd8bab3f0ca |
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 -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 }