mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 00:28:09 -07:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
42 lines
876 B
Bash
42 lines
876 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs readme.gentoo-r1
|
|
|
|
DESCRIPTION="Utility for parallelizing execution of shell functions"
|
|
HOMEPAGE="https://github.com/exzombie/prll"
|
|
SRC_URI="https://github.com/exzombie/prll/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
RESTRICT="test"
|
|
|
|
DOC_CONTENTS="
|
|
You must source the prll.sh file located\nin /etc/profile.d to be able to use prll:\n
|
|
$ source /etc/profile.d/prll.sh
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed \
|
|
-e '/then sh/d' \
|
|
-e '/then zsh/d' \
|
|
-e '/then dash/d' \
|
|
-i tests/Makefile || die
|
|
tc-export CC
|
|
}
|
|
|
|
src_install() {
|
|
emake PREFIX="/usr" DESTDIR="${D}" install
|
|
einstalldocs
|
|
readme.gentoo_create_doc
|
|
rm -rf "${D}/usr/share/doc/prll" || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
readme.gentoo_print_elog
|
|
}
|