| # Copyright 1999-2012 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=4 |
| |
| inherit eutils prefix toolchain-funcs |
| |
| DESCRIPTION="A utility for parallelizing execution of shell functions" |
| HOMEPAGE="http://prll.sourceforge.net/" |
| SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
| |
| LICENSE="GPL-3" |
| SLOT="0" |
| KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
| IUSE="" |
| |
| src_prepare() { |
| sed \ |
| -e '/then sh/d' \ |
| -e '/then zsh/d' \ |
| -e '/then dash/d' \ |
| -i tests/Makefile || die |
| tc-export CC |
| } |
| |
| src_install() { |
| dobin ${PN}_{qer,bfr} |
| insinto /etc/profile.d/ |
| doins ${PN}.sh |
| dodoc AUTHORS README NEWS |
| doman ${PN}.1 |
| } |