wok annotate sshproxy/receipt @ rev 20304
sshx: add port support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 17:00:11 2018 +0200 (2018-05-05) |
parents | 90198f573d18 |
children | 8dd8bab3f0ca |
rev | line source |
---|---|
pascal@4561 | 1 # SliTaz package receipt. |
pascal@4561 | 2 |
pascal@4561 | 3 PACKAGE="sshproxy" |
pascal@4561 | 4 VERSION="0.6.0_beta2" |
pascal@4561 | 5 CATEGORY="network" |
pascal@4561 | 6 SHORT_DESC="SSH proxy to connect without passwords or keys." |
pascal@4561 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15582 | 8 LICENSE="GPL2" |
pascal@4561 | 9 TARBALL="sshproxy_0.6.0~beta2.orig.tar.gz" |
pascal@4561 | 10 WEB_SITE="http://sshproxy-project.org/" |
pascal@4561 | 11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/s/sshproxy/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
erjo@9921 | 13 |
erjo@9921 | 14 DEPENDS="python paramiko python-mysql pycrypto" |
erjo@9921 | 15 BUILD_DEPENDS="python paramiko python-mysql pycrypto" |
pascal@4561 | 16 |
pascal@4561 | 17 # Rules to configure and make the package. |
pascal@4561 | 18 compile_rules() |
pascal@4561 | 19 { |
erjo@9921 | 20 python setup.py install --root=$DESTDIR |
pascal@19369 | 21 install -d -m 755 $DESTDIR/usr/share/man/man1 && |
pascal@19369 | 22 install -d -m 755 $DESTDIR/usr/share/man/man5 && |
pascal@19369 | 23 install -d -m 755 $DESTDIR/usr/share/man/man8 && |
pascal@19369 | 24 install -d -m 755 $DESTDIR/usr/share/doc && |
pascal@19371 | 25 install -m 644 $src/doc/*.1 $DESTDIR/usr/share/man/man1 && |
pascal@19371 | 26 install -m 644 $src/doc/*.5 $DESTDIR/usr/share/man/man5 && |
pascal@19371 | 27 install -m 644 $src/doc/*.8 $DESTDIR/usr/share/man/man8 && |
pascal@19371 | 28 install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc |
pascal@4561 | 29 } |
pascal@4561 | 30 |
pascal@4561 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4561 | 32 genpkg_rules() |
pascal@4561 | 33 { |
pascal@15582 | 34 cp -a $install/usr $fs |
pascal@19369 | 35 rm -rf $fs/usr/share/doc $fs/usr/share/man |
pascal@4561 | 36 } |