/[gentoo-x86]/dev-util/valgrind/valgrind-1.0.3.ebuild
Gentoo

Contents of /dev-util/valgrind/valgrind-1.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Nov 6 05:46:53 2002 UTC (11 years, 9 months ago) by blocke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
~x86 -> x86

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.3.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 http://developer.kde.org/~sewardj/valgrind-1.0.3-gcc3.1-and-above-patch1.txt"
12 DEPEND="virtual/glibc
13 X? ( virtual/x11 )"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="x86 -sparc -sparc64 -ppc -alpha"
17
18 src_unpack()
19 {
20 unpack ${P}.tar.bz2
21
22 cd ${S}
23 patch -p1 < ${DISTDIR}/valgrind-1.0.3-gcc3.1-and-above-patch1.txt
24 }
25
26 src_compile()
27 {
28 local myconf
29
30 use X && myconf="--with-x" || myconf="--with-x=no"
31
32 # note: it does not appear safe to play with CFLAGS
33 econf ${myconf} || die
34 emake || die
35 }
36
37 src_install()
38 {
39 einstall docdir="${D}/usr/share/doc/${PF}" || die
40 dodoc README* COPYING ChangeLog TODO ACKNOWLEDGEMENTS AUTHORS NEWS
41 }

  ViewVC Help
Powered by ViewVC 1.1.20