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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed Sep 3 21:01:12 2008 UTC (11 years, 9 months ago) by opfer
Branch: MAIN
Changes since 1.4: +3 -3 lines
change dependency from virtual/tetex to virtual/latex-base
(Portage version: 2.1.4.4)

1 opfer 1.5 # Copyright 1999-2008 Gentoo Foundation
2 robbat2 1.1 # Distributed under the terms of the GNU General Public License v2
3 opfer 1.5 # $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/btrace-0.0.20060428050322.ebuild,v 1.4 2007/07/14 23:16:45 mr_bones_ Exp $
4 robbat2 1.1
5     inherit eutils toolchain-funcs
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="${PV/0.0.}"
11     MY_PN="blktrace"
12     MY_P="${MY_PN}-${MY_PV}"
13     SRC_URI="mirror://kernel/linux/kernel/people/axboe/${MY_PN}/${MY_P}.tar.bz2"
14     LICENSE="GPL-2"
15     SLOT="0"
16     KEYWORDS="~x86 ~ppc"
17     IUSE="doc"
18     RDEPEND="virtual/libc"
19 robbat2 1.3 # This is a Linux specific app!
20 robbat2 1.1 DEPEND="${RDEPEND}
21     || ( sys-kernel/linux-headers sys-kernel/mips-headers )
22 opfer 1.5 doc? ( virtual/latex-base )"
23 robbat2 1.1 S="${WORKDIR}/${MY_PN}"
24    
25     src_compile() {
26     emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall -W" || die "emake failed"
27     if use doc; then
28     emake docs || die "emake docs failed"
29     fi
30     }
31    
32     src_install() {
33     emake install DESTDIR="${D}" prefix="/usr" || die "emake install failed"
34     dodoc README
35     use doc && doc/blktrace.pdf
36     }

  ViewVC Help
Powered by ViewVC 1.1.20