diff options
Diffstat (limited to 'app-benchmarks/forkbomb')
-rw-r--r-- | app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild (renamed from app-benchmarks/forkbomb/forkbomb-1.4.ebuild) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/app-benchmarks/forkbomb/forkbomb-1.4.ebuild b/app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild index e7d22f39cf22..67adb9ea3706 100644 --- a/app-benchmarks/forkbomb/forkbomb-1.4.ebuild +++ b/app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + DESCRIPTION="Controlled fork() bomber for testing heavy system load" HOMEPAGE="http://home.tiscali.cz:8080/~cz210552/forkbomb.html" SRC_URI="http://home.tiscali.cz:8080/~cz210552/distfiles/${P}.tar.gz" @@ -10,13 +12,12 @@ SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" -src_unpack() { - unpack ${A} - cd "${S}" - sed -i '/^all/s/tags//' Makefile || die "sed failed" +src_prepare() { + sed -i '/^all/s/tags//' Makefile || die + default } src_install() { - dobin ${PN} || die "dobin failed" + dobin ${PN} doman ${PN}.8 } |