summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/sysbench/sysbench-0.4.10.ebuild')
-rw-r--r--app-benchmarks/sysbench/sysbench-0.4.10.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-benchmarks/sysbench/sysbench-0.4.10.ebuild b/app-benchmarks/sysbench/sysbench-0.4.10.ebuild
new file mode 100644
index 000000000000..8e3931b6d6c1
--- /dev/null
+++ b/app-benchmarks/sysbench/sysbench-0.4.10.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/sysbench-0.4.10.ebuild,v 1.1 2009/01/17 20:33:23 patrick Exp $
+
+DESCRIPTION="System performance benchmark"
+HOMEPAGE="http://sysbench.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mysql"
+
+DEPEND="mysql? ( virtual/mysql )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ econf $(use_with mysql mysql /usr) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog README
+}
+