summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-01-17 20:33:23 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-01-17 20:33:23 +0000
commit6742c238863711b64223c8aec00605cc73fc3c34 (patch)
tree2a6567c2d342177f47939358eda46aced2f286f4 /app-benchmarks
parentold (diff)
downloadgentoo-2-6742c238863711b64223c8aec00605cc73fc3c34.tar.gz
gentoo-2-6742c238863711b64223c8aec00605cc73fc3c34.tar.bz2
gentoo-2-6742c238863711b64223c8aec00605cc73fc3c34.zip
Initial import. Based on sysbench-0.4.8.ebuild from Sven Wegener <swegener@gentoo.org>
(Portage version: 2.2_rc22/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/sysbench/ChangeLog11
-rw-r--r--app-benchmarks/sysbench/metadata.xml5
-rw-r--r--app-benchmarks/sysbench/sysbench-0.4.10.ebuild26
3 files changed, 42 insertions, 0 deletions
diff --git a/app-benchmarks/sysbench/ChangeLog b/app-benchmarks/sysbench/ChangeLog
new file mode 100644
index 000000000000..d164b8917004
--- /dev/null
+++ b/app-benchmarks/sysbench/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-benchmarks/sysbench
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/ChangeLog,v 1.1 2009/01/17 20:33:23 patrick Exp $
+
+*sysbench-0.4.10 (17 Jan 2009)
+
+ 17 Jan 2009; Patrick Lauer <patrick@gentoo.org> +metadata.xml,
+ +sysbench-0.4.10.ebuild:
+ Initial import. Based on sysbench-0.4.8.ebuild from Sven Wegener
+ <swegener@gentoo.org>
+
diff --git a/app-benchmarks/sysbench/metadata.xml b/app-benchmarks/sysbench/metadata.xml
new file mode 100644
index 000000000000..7e5a7f579109
--- /dev/null
+++ b/app-benchmarks/sysbench/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>benchmarks</herd>
+</pkgmetadata>
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
+}
+