| 1 |
# Copyright 1999-2002 Gentoo Technologies, Inc. |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /home/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-1.0.0.ebuild,v 1.3 2002/10/05 05:39:12 drobbins Exp $ |
| 4 |
|
| 5 |
IUSE="X" |
| 6 |
|
| 7 |
S=${WORKDIR}/${P} |
| 8 |
DESCRIPTION="An open-source memory debugger for x86-GNU/Linux" |
| 9 |
HOMEPAGE="http://developer.kde.org/~sewardj" |
| 10 |
SRC_URI="http://developer.kde.org/~sewardj/${P}.tar.bz2" |
| 11 |
DEPEND="virtual/glibc |
| 12 |
X? ( virtual/x11 )" |
| 13 |
LICENSE="GPL-2" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="x86 -sparc -ppc -sparc64" |
| 16 |
|
| 17 |
src_compile() |
| 18 |
{ |
| 19 |
local myconf |
| 20 |
|
| 21 |
use X && myconf="--with-x" || myconf="--with-x=no" |
| 22 |
|
| 23 |
# note: it does not appear safe to play with CFLAGS |
| 24 |
econf ${myconf} || die |
| 25 |
emake || die |
| 26 |
} |
| 27 |
|
| 28 |
src_install() |
| 29 |
{ |
| 30 |
einstall docdir="${D}/usr/share/doc/${PF}" || die |
| 31 |
dodoc README* COPYING ChangeLog TODO ACKNOWLEDGEMENTS AUTHORS NEWS |
| 32 |
} |