summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/forkbomb/forkbomb-1.4.ebuild')
-rw-r--r--app-benchmarks/forkbomb/forkbomb-1.4.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-benchmarks/forkbomb/forkbomb-1.4.ebuild b/app-benchmarks/forkbomb/forkbomb-1.4.ebuild
new file mode 100644
index 000000000000..a4cef6bb2128
--- /dev/null
+++ b/app-benchmarks/forkbomb/forkbomb-1.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i '/^all/s/tags//' Makefile || die "sed failed"
+}
+
+src_install() {
+ dobin ${PN} || die "dobin failed"
+ doman ${PN}.8
+}