Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 356021
Collapse All | Expand All

(-)fio-1.50_rc4.ebuild (-10 / +4 lines)
Lines 2-17 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-1.50_rc4.ebuild,v 1.1 2011/01/25 04:32:35 robbat2 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-1.50_rc4.ebuild,v 1.1 2011/01/25 04:32:35 robbat2 Exp $
4
4
5
EAPI="2"
5
EAPI=4
6
6
7
inherit eutils toolchain-funcs flag-o-matic
7
inherit eutils toolchain-funcs flag-o-matic
8
8
9
MY_PV="${PV/_rc/-rc}"
10
MY_P="${PN}-${MY_PV}"
11
12
DESCRIPTION="Jens Axboe's Flexible IO tester"
9
DESCRIPTION="Jens Axboe's Flexible IO tester"
13
HOMEPAGE="http://brick.kernel.dk/snaps/"
10
HOMEPAGE="http://brick.kernel.dk/snaps/"
14
SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
11
SRC_URI="http://brick.kernel.dk/snaps/${P}.tar.bz2"
15
12
16
LICENSE="GPL-2"
13
LICENSE="GPL-2"
17
SLOT="0"
14
SLOT="0"
Lines 21-28 Link Here
21
DEPEND="dev-libs/libaio"
18
DEPEND="dev-libs/libaio"
22
RDEPEND="${DEPEND}"
19
RDEPEND="${DEPEND}"
23
20
24
S="${WORKDIR}/${MY_P}"
25
26
src_prepare() {
21
src_prepare() {
27
	sed -i \
22
	sed -i \
28
		-e '/filter /s:-o:$(LDFLAGS) -o:' \
23
		-e '/filter /s:-o:$(LDFLAGS) -o:' \
Lines 32-44 Link Here
32
27
33
src_compile() {
28
src_compile() {
34
	append-flags -W
29
	append-flags -W
35
	emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die "emake failed"
30
	emake V=1 CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die
36
}
31
}
37
32
38
src_install() {
33
src_install() {
39
	emake install DESTDIR="${D}" prefix="/usr" mandir="/usr/share/man" || die "emake install failed"
34
	emake install DESTDIR="${D}" prefix=/usr mandir=/usr/share/man || die
40
	dodoc README REPORTING-BUGS HOWTO
35
	dodoc README REPORTING-BUGS HOWTO
41
	docinto examples
36
	docinto examples
42
	dodoc examples/*
37
	dodoc examples/*
43
	doman fio.1
44
}
38
}

Return to bug 356021