/[gentoo-x86]/app-benchmarks/sysbench/sysbench-0.4.10.ebuild
Gentoo

Contents of /app-benchmarks/sysbench/sysbench-0.4.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Aug 27 08:54:27 2011 UTC (3 years ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +7 -5 lines
Adding aio useflag to properly handle automagic depend, bug #380353

(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/sysbench/sysbench-0.4.10.ebuild,v 1.3 2009/03/08 20:36:54 maekke Exp $
4
5 DESCRIPTION="System performance benchmark"
6 HOMEPAGE="http://sysbench.sourceforge.net/"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="amd64 x86"
12 IUSE="aio mysql"
13
14 DEPEND="mysql? ( virtual/mysql )
15 aio? ( dev-libs/libaio )"
16 RDEPEND="${DEPEND}"
17
18 src_compile() {
19 if ! use aio; then my_econf="--disable-aio"; fi
20 econf $(use_with mysql mysql /usr) $my_econf || die "econf failed"
21 emake || die "emake failed"
22 }
23
24 src_install() {
25 emake DESTDIR="${D}" install || die "emake install failed"
26 dodoc ChangeLog README
27 }

  ViewVC Help
Powered by ViewVC 1.1.20