summaryrefslogtreecommitdiff
path: root/pcr/pdsh/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-06 16:55:33 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-06 16:55:33 -0200
commitbe7bcd5b4dc84932918b7c9afea7c744b16d2be8 (patch)
tree712a667adee4890a1e87147955f5445b58d4370a /pcr/pdsh/PKGBUILD
parentda425e1398bacd8f90603cbdec07d111f6be8f7a (diff)
parent52e05295dfe134f6d8aff1cb9406ad2b89aed67a (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/pdsh/PKGBUILD')
-rw-r--r--pcr/pdsh/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/pdsh/PKGBUILD b/pcr/pdsh/PKGBUILD
new file mode 100644
index 000000000..0f4fc2461
--- /dev/null
+++ b/pcr/pdsh/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: drrossum <d.r.vanrossum at gmx.de>
+# Contributor: sh0 <mee@sh0.org>
+# Maintainer : AurÃelien Desbrieres <aurelien@xload.io>
+
+pkgname=pdsh
+pkgver=2.29
+pkgrel=2
+pkgdesc='Parallel Distributed Shell'
+url='http://code.google.com/p/pdsh/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('glibc' 'openssh' 'readline')
+optdepends=('perl: required by the dshbak utility')
+options=('libtool')
+source=("http://pdsh.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --without-rsh \
+ --with-ssh \
+ --with-dshgroups \
+ --with-readline || return 1
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" install || return 1
+ rmdir "${pkgdir}/usr/sbin"
+}
+
+# vim:set ts=2 sw=2 et: