summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-08-03 04:00:56 +0000
committerTim Harder <radhermit@gentoo.org>2012-08-03 04:00:56 +0000
commit644c849d841a9357639a1bac62b7c74977b2d70c (patch)
treed330c3ffb0fd2f0ef4a19f8666e0a9caca4c0bc8 /sys-block/fio
parent[media-sound/amarok] Version bump (2.6 RC). (diff)
downloadgentoo-2-644c849d841a9357639a1bac62b7c74977b2d70c.tar.gz
gentoo-2-644c849d841a9357639a1bac62b7c74977b2d70c.tar.bz2
gentoo-2-644c849d841a9357639a1bac62b7c74977b2d70c.zip
Version bump. Update to EAPI 4.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/fio')
-rw-r--r--sys-block/fio/ChangeLog7
-rw-r--r--sys-block/fio/fio-2.0.8.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/sys-block/fio/ChangeLog b/sys-block/fio/ChangeLog
index ecc24c60017c..75c1b9e2ad9f 100644
--- a/sys-block/fio/ChangeLog
+++ b/sys-block/fio/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/fio
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.23 2012/02/21 08:09:03 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.24 2012/08/03 04:00:56 radhermit Exp $
+
+*fio-2.0.8 (03 Aug 2012)
+
+ 03 Aug 2012; Tim Harder <radhermit@gentoo.org> +fio-2.0.8.ebuild:
+ Version bump. Update to EAPI 4.
*fio-2.0.3 (21 Feb 2012)
diff --git a/sys-block/fio/fio-2.0.8.ebuild b/sys-block/fio/fio-2.0.8.ebuild
new file mode 100644
index 000000000000..bdf25b90c6f1
--- /dev/null
+++ b/sys-block/fio/fio-2.0.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-2.0.8.ebuild,v 1.1 2012/08/03 04:00:56 radhermit Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="${PV/_rc/-rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Jens Axboe's Flexible IO tester"
+HOMEPAGE="http://brick.kernel.dk/snaps/"
+SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/libaio"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i \
+ -e '/filter /s:-o:$(LDFLAGS) -o:' \
+ -e '/: depend$/d' \
+ Makefile || die
+}
+
+src_compile() {
+ append-flags -W
+ emake V=1 CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" prefix="/usr" mandir="/usr/share/man"
+ dodoc README REPORTING-BUGS HOWTO
+ docinto examples
+ dodoc examples/*
+ doman fio.1
+}