/[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.3 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.3 2006/06/14 05:23:53 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/"
17IUSE="doc" 17IUSE="doc"
18RDEPEND="virtual/libc" 18RDEPEND="virtual/libc"
19# This is a Linux specific app! 19# This is a Linux specific app!
20DEPEND="${RDEPEND} 20DEPEND="${RDEPEND}
21 || ( sys-kernel/linux-headers sys-kernel/mips-headers ) 21 || ( sys-kernel/linux-headers sys-kernel/mips-headers )
22 doc? ( virtual/tetex )" 22 doc? ( virtual/latex-base )"
23S="${WORKDIR}/${MY_PN}" 23S="${WORKDIR}/${MY_PN}"
24 24
25src_compile() { 25src_compile() {
26 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall -W" || die "emake failed" 26 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall -W" || die "emake failed"
27 if use doc; then 27 if use doc; then
32src_install() { 32src_install() {
33 emake install DESTDIR="${D}" prefix="/usr" || die "emake install failed" 33 emake install DESTDIR="${D}" prefix="/usr" || die "emake install failed"
34 dodoc README 34 dodoc README
35 use doc && doc/blktrace.pdf 35 use doc && doc/blktrace.pdf
36} 36}
37

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

  ViewVC Help
Powered by ViewVC 1.1.20