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

Contents of /dev-util/valgrind/valgrind-2.0_pre20030725.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Nov 5 20:56:53 2003 UTC (11 years, 1 month ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove stale ebuilds

1 # Copyright 1999-2003 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-2.0_pre20030725.ebuild,v 1.2 2003/08/15 16:25:09 solar Exp $
4
5 IUSE="X"
6
7 MY_P=${P/2.0_pre/}
8 S=${WORKDIR}/${MY_P}
9
10 DESCRIPTION="An open-source memory debugger for x86-GNU/Linux"
11 HOMEPAGE="http://developer.kde.org/~sewardj"
12 SRC_URI="http://developer.kde.org/~sewardj/${MY_P}.tar.bz2"
13 DEPEND="virtual/glibc
14 sys-devel/autoconf
15 X? ( virtual/x11 )"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~x86 -sparc -ppc -alpha"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 if [ `uname -r | awk -F . '{print $2}'` == 6 ]; then
25 epatch ${FILESDIR}/${PN}-configure.in-2.6.diff
26 autoconf || die "error while running autoconf"
27 fi
28 }
29
30 src_compile() {
31 local myconf
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 COPYING INSTALL NEWS \
41 PATCHES_APPLIED README* TODO ChangeLog FAQ.txt
42 }

  ViewVC Help
Powered by ViewVC 1.1.20