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

Contents of /dev-util/valgrind/valgrind-2.1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jun 28 20:34:57 2005 UTC (8 years, 9 months ago) by griffon26
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +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.1-r1.ebuild,v 1.5 2005/02/13 15:55:25 griffon26 Exp $
4
5 inherit flag-o-matic eutils
6 RESTRICT="nostrip"
7
8 DESCRIPTION="An open-source memory debugger for x86-GNU/Linux"
9 HOMEPAGE="http://valgrind.kde.org"
10 SRC_URI="http://developer.kde.org/~sewardj/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~x86 -sparc -ppc -alpha -amd64"
15 IUSE="X"
16
17 DEPEND="virtual/libc
18 sys-devel/autoconf
19 sys-devel/automake
20 X? ( virtual/x11 )"
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 # add pic aware cpuid patch from cvs. Bug #54068
26 epatch ${FILESDIR}/${PN}-2.1.1-pic.patch
27 einfo "Running aclocal/automake"
28 aclocal && automake
29 }
30
31 src_compile() {
32 local myconf
33
34 #filter-flags -fPIC
35
36 use X && myconf="--with-x" || myconf="--with-x=no"
37 # note: it does not appear safe to play with CFLAGS
38 econf ${myconf} || die
39 emake || die
40 }
41
42 src_install() {
43 einstall docdir="${D}/usr/share/doc/${PF}" || die
44 dodoc ACKNOWLEDGEMENTS AUTHORS INSTALL NEWS \
45 PATCHES_APPLIED README* TODO ChangeLog FAQ.txt
46 }

  ViewVC Help
Powered by ViewVC 1.1.20