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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Nov 13 14:40:35 2003 UTC (10 years, 5 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump, mark stable, remove prerelease

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_pre20031012.ebuild,v 1.1 2003/10/17 07:05:55 solar Exp $
4
5 inherit flag-o-matic
6 filter-flags -fPIC
7 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://developer.kde.org/~sewardj"
14 SRC_URI="http://developer.kde.org/~sewardj/${MY_P}.tar.bz2"
15 DEPEND="virtual/glibc
16 sys-devel/autoconf
17 X? ( virtual/x11 )"
18
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="~x86 -sparc -ppc -alpha"
22
23 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
32 src_compile() {
33 local myconf
34 use X && myconf="--with-x" || myconf="--with-x=no"
35 # note: it does not appear safe to play with CFLAGS
36 econf ${myconf} || die
37 emake || die
38 }
39
40 src_install() {
41 einstall docdir="${D}/usr/share/doc/${PF}" || die
42 dodoc ACKNOWLEDGEMENTS AUTHORS COPYING INSTALL NEWS \
43 PATCHES_APPLIED README* TODO ChangeLog FAQ.txt
44 }

  ViewVC Help
Powered by ViewVC 1.1.20