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

Contents of /app-benchmarks/sysbench/sysbench-0.4.12-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 8 12:13:07 2012 UTC (2 years, 3 months ago) by nativemad
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable, see bug 418519

(Portage version: 2.1.10.65/cvs/Linux i686)

1 # Copyright 1999-2012 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.12-r1.ebuild,v 1.2 2012/08/02 21:10:51 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit autotools
8
9 DESCRIPTION="System performance benchmark"
10 HOMEPAGE="http://sysbench.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="aio mysql"
17
18 DEPEND="mysql? ( virtual/mysql )
19 aio? ( dev-libs/libaio )"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 # fix for bug #297590
24 sed -e 's/SUBDIRS \= doc sysbench/SUBDIRS \= sysbench/' -i Makefile.am || die "sed of makefile failed"
25 eautoreconf
26 }
27
28 src_configure() {
29 if ! use aio; then my_econf="--disable-aio"; fi
30 econf $(use_with mysql mysql /usr) $my_econf || die "econf failed"
31 }
32 src_compile() {
33 emake || die "emake failed"
34 }
35
36 src_install() {
37 emake DESTDIR="${D}" install || die "emake install failed"
38 dodoc ChangeLog README
39 }

  ViewVC Help
Powered by ViewVC 1.1.20