diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2006-12-02 21:03:12 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2006-12-02 21:03:12 +0000 |
commit | cb76d49516e95bb02b2a63f0f378396dcb1a5f1e (patch) | |
tree | 05f7086ec318f4725489359ce2956c52ba39ed07 /dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild | |
parent | Remove old version, old diffs (diff) | |
download | gentoo-2-cb76d49516e95bb02b2a63f0f378396dcb1a5f1e.tar.gz gentoo-2-cb76d49516e95bb02b2a63f0f378396dcb1a5f1e.tar.bz2 gentoo-2-cb76d49516e95bb02b2a63f0f378396dcb1a5f1e.zip |
Fix bug #155905, cleanup ebuilds.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild')
-rw-r--r-- | dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild index 2dd8d2b3a45e..2b0cbe82d0bf 100644 --- a/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild +++ b/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild @@ -1,12 +1,14 @@ # Copyright 1999-2006 Gentoo Foundation # 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.3.ebuild,v 1.4 2006/11/23 20:02:01 vivo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild,v 1.5 2006/12/02 21:03:12 chtekk Exp $ -inherit eutils +WANT_AUTOMAKE="1.4" + +inherit eutils autotools 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" +DESCRIPTION="MySQL Super Smack is a benchmarking, stress testing, and load generation tool for MySQL & PostGreSQL." HOMEPAGE="http://vegan.net/tony/supersmack/" SRC_URI="http://vegan.net/tony/supersmack/${MY_P}.tar.gz" @@ -16,7 +18,8 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="mysql postgres" DEPEND="mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql )" + postgres? ( dev-db/postgresql )" +RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" @@ -26,23 +29,26 @@ pkg_setup() { src_unpack() { unpack ${A} - EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-1.2.destdir.patch - cd ${S} - epatch ${FILESDIR}/${PN}-1.3.amd64.patch - automake + cd "${S}" + + epatch "${FILESDIR}/${PN}-1.2.destdir.patch" + epatch "${FILESDIR}/${PN}-1.3.amd64.patch" + + autotools_set_versions + automake || die "automake failed" } src_compile() { - local myconf + 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}" - econf ${myconf} || die - emake || die + econf ${myconf} || die "econf failed" + emake || die "emake failed" } src_install() { - make DESTDIR=${D} install || die + emake DESTDIR="${D}" install || die "emake install failed" dodoc CHANGES INSTALL MANUAL README TUTORIAL } |