aboutsummaryrefslogtreecommitdiffstats
path: root/main/pssh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-17 11:05:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-17 11:05:09 +0000
commit26e8092e7166c8d3b9ae83faff2e84c32ad30158 (patch)
tree6428e57edb210d14aa86d7e28a32d9bc3deb92a4 /main/pssh
parent737eb7d45e3bb61e18acf818809160c6b253b022 (diff)
downloadaports-26e8092e7166c8d3b9ae83faff2e84c32ad30158.tar.bz2
aports-26e8092e7166c8d3b9ae83faff2e84c32ad30158.tar.xz
main/pssh: move from testing
Diffstat (limited to 'main/pssh')
-rw-r--r--main/pssh/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/pssh/APKBUILD b/main/pssh/APKBUILD
new file mode 100644
index 0000000000..36c6d3c83c
--- /dev/null
+++ b/main/pssh/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=pssh
+pkgver=2.3.1
+pkgrel=0
+pkgdesc="PSSH provides parallel versions of OpenSSH and related tools: pssh, pscp, prsync, pnuke, and pslurp"
+url="https://code.google.com/p/parallel-ssh/"
+arch="noarch"
+license="BSD"
+depends="python"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://parallel-ssh.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
+
+_builddir="${srcdir}"/"${pkgname}"-"${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+
+ install -d "${pkgdir}"/usr/libexec/pssh
+ mv "${pkgdir}"/usr/bin/pssh-askpass "${pkgdir}"/usr/libexec/pssh
+
+ install -d "${pkgdir}"/usr/share
+ mv "${pkgdir}"/usr/man "${pkgdir}"/usr/share
+}
+
+md5sums="53e70d53064f658bf8f44880340e8e5c pssh-2.3.1.tar.gz"
+sha256sums="539f8d8363b722712310f3296f189d1ae8c690898eca93627fc89a9cb311f6b4 pssh-2.3.1.tar.gz"
+sha512sums="c39e1c2b0a3bc2bd736f1e7d2f402db6a128e81d6a80ce7e97f39e7fae93f7a20037b43b5725bed5ba911f54e36a9b65c509d858a53c696989b76b1322e7680f pssh-2.3.1.tar.gz"