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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.5
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
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/btrace/Attic/btrace-0.0.20060428050322.ebuild,v 1.2 2006/06/07 20:47:41 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/Attic/btrace-0.0.20060428050322.ebuild,v 1.5 2008/09/03 21:01:12 opfer Exp $
4 4
5inherit eutils toolchain-funcs 5inherit eutils toolchain-funcs
6 6
7DESCRIPTION="btrace can show detailed info about what is happening on a block device io queue." 7DESCRIPTION="btrace can show detailed info about what is happening on a block device io queue."
8HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/axboe/blktrace/" 8HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/axboe/blktrace/"
14LICENSE="GPL-2" 14LICENSE="GPL-2"
15SLOT="0" 15SLOT="0"
16KEYWORDS="~x86 ~ppc" 16KEYWORDS="~x86 ~ppc"
17IUSE="doc" 17IUSE="doc"
18RDEPEND="virtual/libc" 18RDEPEND="virtual/libc"
19# This is a Linux specific app!
19DEPEND="${RDEPEND} 20DEPEND="${RDEPEND}
20 || ( sys-kernel/linux-headers sys-kernel/mips-headers ) 21 || ( sys-kernel/linux-headers sys-kernel/mips-headers )
21 doc? ( app-text/tetex )" 22 doc? ( virtual/latex-base )"
22S="${WORKDIR}/${MY_PN}" 23S="${WORKDIR}/${MY_PN}"
23 24
24src_compile() { 25src_compile() {
25 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall -W" || die "emake failed" 26 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall -W" || die "emake failed"
26 if use doc; then 27 if use doc; then
31src_install() { 32src_install() {
32 emake install DESTDIR="${D}" prefix="/usr" || die "emake install failed" 33 emake install DESTDIR="${D}" prefix="/usr" || die "emake install failed"
33 dodoc README 34 dodoc README
34 use doc && doc/blktrace.pdf 35 use doc && doc/blktrace.pdf
35} 36}
36

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20