wok view pssh/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | 151ac8f3d1bd |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pssh"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Parallel versions of the openssh tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://pypi.org/project/pssh/"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/parallel-ssh/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir $fs/usr
35 cp -a $install/usr/bin $fs/usr/
36 cp -a $install/usr/lib $fs/usr/
37 }