# SliTaz package receipt. PACKAGE="pssh" VERSION="2.3.1" CATEGORY="network" SHORT_DESC="Parallel versions of the openssh tools" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://pypi.org/project/pssh/" WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/parallel-ssh/$TARBALL" TAGS="ssh" DEPENDS="python" BUILD_DEPENDS="python-setuptools" # What is the latest version available today? current_version() { wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" } # Rules to configure and make the package. compile_rules() { python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir $fs/usr cp -a $install/usr/bin $fs/usr/ cp -a $install/usr/lib $fs/usr/ }