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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide 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.8: +1 -1 lines
FILE REMOVED
Marked valgrind 2.4.0 stable and removed old ebuilds.
(Portage version: 2.0.51.22-r1)

1 griffon26 1.8 # Copyright 1999-2005 Gentoo Foundation
2 caleb 1.1 # Distributed under the terms of the GNU General Public License v2
3 griffon26 1.9 # $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-2.0.0.ebuild,v 1.8 2005/02/13 15:55:25 griffon26 Exp $
4 caleb 1.1
5 agriffis 1.4 inherit flag-o-matic eutils
6 caleb 1.5 RESTRICT="nostrip"
7 caleb 1.1 IUSE="X"
8    
9     MY_P=${P/2.0_pre/}
10     S=${WORKDIR}/${MY_P}
11    
12     DESCRIPTION="An open-source memory debugger for x86-GNU/Linux"
13     HOMEPAGE="http://valgrind.kde.org"
14     SRC_URI="http://developer.kde.org/~sewardj/${MY_P}.tar.bz2"
15 eradicator 1.7 DEPEND="virtual/libc
16 caleb 1.1 sys-devel/autoconf
17     X? ( virtual/x11 )"
18    
19     LICENSE="GPL-2"
20     SLOT="0"
21     KEYWORDS="x86 -sparc -ppc -alpha"
22    
23 caleb 1.2 #src_unpack() {
24     # unpack ${A}
25     # cd ${S}
26     # if [ `uname -r | awk -F . '{print $2}'` == 6 ]; then
27     # epatch ${FILESDIR}/${PN}-configure.in-2.6.diff
28     # autoconf || die "error while running autoconf"
29     # fi
30     #}
31 caleb 1.1
32     src_compile() {
33     local myconf
34 mr_bones_ 1.3
35     filter-flags -fPIC
36    
37 caleb 1.1 use X && myconf="--with-x" || myconf="--with-x=no"
38     # note: it does not appear safe to play with CFLAGS
39     econf ${myconf} || die
40     emake || die
41     }
42    
43     src_install() {
44     einstall docdir="${D}/usr/share/doc/${PF}" || die
45 mr_bones_ 1.3 dodoc ACKNOWLEDGEMENTS AUTHORS INSTALL NEWS \
46 caleb 1.1 PATCHES_APPLIED README* TODO ChangeLog FAQ.txt
47     }

  ViewVC Help
Powered by ViewVC 1.1.20