diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-02-24 04:04:37 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-02-24 04:04:37 +0000 |
commit | a613ef5f09583291c67cb36c232aa0c7ea1ca265 (patch) | |
tree | 8098fcaaaf7f47833019b6fbf2bd08070f74d694 /dev-db/mysql-super-smack | |
parent | change install location of desktop files #26578 (diff) | |
download | gentoo-2-a613ef5f09583291c67cb36c232aa0c7ea1ca265.tar.gz gentoo-2-a613ef5f09583291c67cb36c232aa0c7ea1ca265.tar.bz2 gentoo-2-a613ef5f09583291c67cb36c232aa0c7ea1ca265.zip |
Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-db/mysql-super-smack')
-rw-r--r-- | dev-db/mysql-super-smack/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/mysql-super-smack/Manifest | 2 | ||||
-rw-r--r-- | dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.2 | 1 | ||||
-rw-r--r-- | dev-db/mysql-super-smack/files/mysql-super-smack-1.2.destdir.patch | 13 | ||||
-rw-r--r-- | dev-db/mysql-super-smack/metadata.xml | 6 | ||||
-rw-r--r-- | dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild | 39 |
6 files changed, 71 insertions, 0 deletions
diff --git a/dev-db/mysql-super-smack/ChangeLog b/dev-db/mysql-super-smack/ChangeLog new file mode 100644 index 000000000000..afe1f59ea4c0 --- /dev/null +++ b/dev-db/mysql-super-smack/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-db/mysql-super-smack +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.1 2004/02/24 04:04:37 robbat2 Exp $ + +*mysql-super-smack-1.2 (23 Feb 2004) + + 23 Feb 2004; Robin H. Johnson <robbat2@gentoo.org> + mysql-super-smack-1.2.ebuild, files/mysql-super-smack-1.2.destdir.patch: + Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org> + diff --git a/dev-db/mysql-super-smack/Manifest b/dev-db/mysql-super-smack/Manifest new file mode 100644 index 000000000000..b4f8e45d025a --- /dev/null +++ b/dev-db/mysql-super-smack/Manifest @@ -0,0 +1,2 @@ +MD5 655ff2779368a23363b92304b5d760fe mysql-super-smack-1.2.ebuild 1352 +MD5 ffe9980a4253d6b885b1c20fb2de06e5 files/digest-mysql-super-smack-1.2 66 diff --git a/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.2 b/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.2 new file mode 100644 index 000000000000..20373ce16bb3 --- /dev/null +++ b/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.2 @@ -0,0 +1 @@ +MD5 8d045e09876e3669caacc0fc026bd3e4 super-smack-1.2.tar.gz 99478 diff --git a/dev-db/mysql-super-smack/files/mysql-super-smack-1.2.destdir.patch b/dev-db/mysql-super-smack/files/mysql-super-smack-1.2.destdir.patch new file mode 100644 index 000000000000..02399905a11e --- /dev/null +++ b/dev-db/mysql-super-smack/files/mysql-super-smack-1.2.destdir.patch @@ -0,0 +1,13 @@ +--- super-smack-1.2/Makefile.am.orig 2004-02-23 19:57:22.000000000 -0800 ++++ super-smack-1.2/Makefile.am 2004-02-23 19:57:40.000000000 -0800 +@@ -23,8 +23,8 @@ + DATADIR= @DATADIR@ + + install-data-local: +- $(mkinstalldirs) $(SMACKS_DIR) $(DATADIR) +- cp -rp $(srcdir)/smacks/* $(SMACKS_DIR) ++ $(mkinstalldirs) $(DESTDIR)$(SMACKS_DIR) $(DESTDIR)$(DATADIR) ++ cp -rp $(srcdir)/smacks/* $(DESTDIR)$(SMACKS_DIR) + + + dist-hook: diff --git a/dev-db/mysql-super-smack/metadata.xml b/dev-db/mysql-super-smack/metadata.xml new file mode 100644 index 000000000000..290fc269207f --- /dev/null +++ b/dev-db/mysql-super-smack/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mysql-bugs</herd> + <maintainer><email>robbat2@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild new file mode 100644 index 000000000000..ec7bab4d289d --- /dev/null +++ b/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild,v 1.1 2004/02/24 04:04:37 robbat2 Exp $ + +MY_PN="super-smack" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="MySQL Super Smack is a benchmarking, stress testing, and load generation tool for MySQL & PostGreSQL" +HOMEPAGE="http://jeremy.zawodny.com/mysql/${MY_PN}/" +SRC_URI="${HOMEPAGE}/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="mysql postgres" +DEPEND="mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql )" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}.destdir.patch + cd ${S} + automake +} + +src_compile() { + local myconf + use mysql && myconf="${myconf} --with-mysql" + use postgres && myconf="${myconf} --with-pgsql" + myconf="${myconf} --with-datadir=/var/tmp/${MY_PN}" + myconf="${myconf} --with-smacks-dir=/usr/share/${MY_PN}" + echo $myconf + econf ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc CHANGES INSTALL MANUAL README TUTORIAL +} |