summaryrefslogtreecommitdiff
blob: ec3a3040c0bccab6b5f6a3116be6aab29f4fd1c2 (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
30
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/prll/prll-0.4.ebuild,v 1.1 2010/02/26 10:00:58 jlec 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 WTFPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~x86-linux ~amd64-linux"
IUSE=""

src_prepare() {
	epatch "${FILESDIR}"/${PV}-ldflags.patch
	epatch "${FILESDIR}"/${PV}-prefix.patch
	tc-export CC
	eprefixify ${PN}.sh
}

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