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 | 57a9b849f23692f39286f9573384f3993c02700d (patch) | |
tree | d5d612586c0fe1330714a4cb84ab6729ae176d21 /dev-db/mysql-super-smack | |
parent | change install location of desktop files #26578 (diff) | |
download | historical-57a9b849f23692f39286f9573384f3993c02700d.tar.gz historical-57a9b849f23692f39286f9573384f3993c02700d.tar.bz2 historical-57a9b849f23692f39286f9573384f3993c02700d.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 | 5 | ||||
-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, 74 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..1a5021827f6c --- /dev/null +++ b/dev-db/mysql-super-smack/Manifest @@ -0,0 +1,5 @@ +MD5 9d16a0f9efdfb5686ca6acdde608cad7 mysql-super-smack-1.2.ebuild 1122 +MD5 0ef4198b5c42dc0d68831ed71817cd20 ChangeLog 463 +MD5 18305c2e9baf5f34bd63aea812485de0 metadata.xml 230 +MD5 ffe9980a4253d6b885b1c20fb2de06e5 files/digest-mysql-super-smack-1.2 66 +MD5 d070039b24303c845cbcbf72ed2e088f files/mysql-super-smack-1.2.destdir.patch 420 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 +} |