/[gentoo-x86]/sys-block/btrace/btrace-0.0.20071210202527.ebuild
Gentoo

Contents of /sys-block/btrace/btrace-0.0.20071210202527.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Jan 11 21:27:55 2014 UTC (6 years, 2 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Drop old version that cannot be downloaded (#269121 by Jan Kunzmann)

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/btrace-0.0.20071210202527.ebuild,v 1.9 2011/02/07 07:30:58 kumba Exp $
4
5 inherit eutils toolchain-funcs flag-o-matic
6
7 DESCRIPTION="btrace can show detailed info about what is happening on a block device io queue."
8 HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/axboe/blktrace/"
9 # this is in case Jens ever releases a real version
10 MY_PV="git-${PV/0.0.}"
11 MY_PN="blktrace"
12 MY_P="${MY_PN}-${MY_PV}"
13 SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.gz"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="doc"
18 RDEPEND=""
19 # This is a Linux specific app!
20 DEPEND="${RDEPEND}
21 sys-kernel/linux-headers
22 doc? ( virtual/latex-base )
23 dev-libs/libaio"
24 S="${WORKDIR}/${MY_PN}"
25
26 src_compile() {
27 append-flags -DLVM_REMAP_WORKAROUND -W -I"${S}"
28 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
29 if use doc; then
30 emake docs || die "emake docs failed"
31 fi
32 }
33
34 src_install() {
35 emake install DESTDIR="${D}" prefix="/usr" mandir="/usr/share/man" || die "emake install failed"
36 dodoc README
37 use doc && dodoc doc/blktrace.pdf
38 }

  ViewVC Help
Powered by ViewVC 1.1.20