40 lines
872 B
Bash
40 lines
872 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
DESCRIPTION="A shell tool for executing jobs in parallel locally or on remote machines"
|
|
HOMEPAGE="https://www.gnu.org/software/parallel/"
|
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-lang/perl:=
|
|
dev-perl/Devel-Size
|
|
virtual/perl-Data-Dumper
|
|
virtual/perl-File-Temp
|
|
virtual/perl-IO"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
DOCS="NEWS README"
|
|
|
|
src_configure() {
|
|
econf --docdir="${EPREFIX}"/usr/share/doc/${PF}/html
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
# See src/Makefile.am for this one:
|
|
rm -f "${ED}"usr/bin/sem
|
|
dosym ${PN} /usr/bin/sem
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "To distribute jobs to remote machines you'll need these dependencies"
|
|
elog " net-misc/openssh"
|
|
elog " net-misc/rsync"
|
|
}
|