blob: b0b72873108f7d309ddbc8f458f521a721f60982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valkyrie/valkyrie-1.2.0.ebuild,v 1.2 2006/06/08 12:05:00 flameeyes Exp $
inherit eutils qt3
DESCRIPTION="Graphical front-end to the Valgrind suite of tools"
HOMEPAGE="http://www.open-works.co.uk/projects/valkyrie.html"
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc"
IUSE="debug"
DEPEND="$(qt_min_version 3)
>=dev-util/valgrind-3.2.0"
src_compile() {
use debug || sed -i -e '/#define DEBUG_ON/ s:1:0:' \
"${S}/valkyrie/vk_utils.h"
econf \
--disable-dependency-tracking \
--with-Qt-dir="${QTDIR}" || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install
dodoc README README_DEVELOPERS AUTHORS
}
|