app-benchmarks/forkbomb: EAPI 6 bump
authorAmy Liffey <amynka@gentoo.org>
Tue, 8 Aug 2017 09:11:54 +0000 (11:11 +0200)
committerAmy Liffey <amynka@gentoo.org>
Tue, 8 Aug 2017 09:11:54 +0000 (11:11 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild [moved from app-benchmarks/forkbomb/forkbomb-1.4.ebuild with 68% similarity]

similarity index 68%
rename from app-benchmarks/forkbomb/forkbomb-1.4.ebuild
rename to app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild
index e7d22f39cf22b07331021865f673bbc36f522859..67adb9ea37064f281fb3bcc4ddf63cc0b2a13dfa 100644 (file)
@@ -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
 }