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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Jun 28 20:34:57 2005 UTC (9 years, 3 months ago) by griffon26
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Marked valgrind 2.4.0 stable and removed old ebuilds.
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.1.0.ebuild,v 1.9 2005/02/13 15:55:25 griffon26 Exp $
4
5 inherit flag-o-matic
6
7 DESCRIPTION="An open-source memory debugger for x86-GNU/Linux"
8 HOMEPAGE="http://valgrind.kde.org"
9 SRC_URI="x86? ( http://developer.kde.org/~sewardj/${P}.tar.bz2 )
10 ppc? ( http://ozlabs.org/~paulus/${P}-ppc.tar.bz2 )"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~x86 ~ppc -sparc -alpha"
15 IUSE="X"
16
17 DEPEND="virtual/libc
18 sys-devel/autoconf
19 X? ( virtual/x11 )"
20
21 case ${ARCH} in
22 ppc)
23 S="${WORKDIR}/${P}-ppc"
24 ;;
25 esac
26
27 src_compile() {
28 local myconf
29
30 filter-flags -fPIC
31
32 use X && myconf="--with-x" || myconf="--with-x=no"
33 # note: it does not appear safe to play with CFLAGS
34 econf ${myconf} || die
35 emake || die
36 }
37
38 src_install() {
39 einstall docdir="${D}/usr/share/doc/${PF}" || die
40 dodoc ACKNOWLEDGEMENTS AUTHORS INSTALL NEWS \
41 PATCHES_APPLIED README* TODO ChangeLog FAQ.txt
42 }

  ViewVC Help
Powered by ViewVC 1.1.20