summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2011-05-06 22:44:18 +0000
committerChristian Faulhammer <fauli@gentoo.org>2011-05-06 22:44:18 +0000
commitd8b5671f9b22cdd10b371b8771720dba194c11fe (patch)
tree46e800d6b9d3381976adabdc382ef45158f03fef /sys-process/parallel/parallel-20110422.ebuild
parentversion bump for bug 366237 (diff)
downloadgentoo-2-d8b5671f9b22cdd10b371b8771720dba194c11fe.tar.gz
gentoo-2-d8b5671f9b22cdd10b371b8771720dba194c11fe.tar.bz2
gentoo-2-d8b5671f9b22cdd10b371b8771720dba194c11fe.zip
version bump and clean up
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'sys-process/parallel/parallel-20110422.ebuild')
-rw-r--r--sys-process/parallel/parallel-20110422.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-process/parallel/parallel-20110422.ebuild b/sys-process/parallel/parallel-20110422.ebuild
new file mode 100644
index 000000000000..fad35fd8f1de
--- /dev/null
+++ b/sys-process/parallel/parallel-20110422.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/parallel/parallel-20110422.ebuild,v 1.1 2011/05/06 22:44:18 fauli Exp $
+
+EAPI=3
+
+DESCRIPTION="A shell tool for executing jobs in parallel locally or on remote machines"
+HOMEPAGE="http://www.gnu.org/software/parallel/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e '/^[ \t]*$Global::progname[ \t]*=/ s/parallel/gparallel/' \
+ src/parallel || die
+}
+
+src_configure() {
+ econf --program-transform-name='s/parallel/gparallel/' || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html || die
+
+ # --program-transform-* care about only bin and man.
+ mv "${D}"/usr/share/doc/${PF}/html/{,g}parallel.html || die
+
+ rm -f "${D}"/usr/bin/sem || die
+ dosym gparallel /usr/bin/sem
+ dodoc NEWS README || die
+}
+
+pkg_postinst() {
+ ewarn "'parallel' command has been renamed to 'gparallel' to avoid"
+ ewarn "a naming collision with sys-apps/moreutils."
+ elog "To distribute jobs to remote machines you'll need these dependencies"
+ elog " net-misc/openssh"
+ elog " net-misc/rsync"
+}