summaryrefslogtreecommitdiff
blob: 69e53be5c04a6d82504e3b21606179cad986661d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/prll/prll-0.5.ebuild,v 1.2 2011/01/05 19:17:25 hwoarang Exp $

EAPI="2"

inherit eutils prefix toolchain-funcs

DESCRIPTION="A utility for parallelizing execution in bash or zsh"
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() {
	epatch "${FILESDIR}"/${PV}-prefix.patch
	tc-export CC
	eprefixify ${PN}.sh
}

src_install() {
	dobin ${PN}_{qer,bfr} || die
	insinto /etc/profile.d/
	doins ${PN}.sh || die
	dodoc ChangeLog AUTHORS README NEWS || die
}