summaryrefslogtreecommitdiff
blob: 9ff7a3a804228a3a8a214df7e72aaa7bb5f232a6 (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/google-perftools-1.5.ebuild,v 1.1 2010/01/31 00:33:24 flameeyes Exp $

DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
HOMEPAGE="http://code.google.com/p/google-perftools/"
SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-libs/libunwind"
RDEPEND="${DEPEND}"

# tests get stuck in a deadlock due to sandbox interactions.
# bug #290249.
RESTRICT=test

src_install() {
	emake install DESTDIR="${D}" || die "emake install failed"

	# Remove the already-installed documentation, since it does not
	# follow our guidelines (doesn't use ${PF}, is not configurable
	# and so on so forth).
	rm -r "${D}"/usr/share/doc/${P} || die

	dodoc README AUTHORS ChangeLog TODO README.windows || die
	pushd doc
	dohtml -r * || die
	popd
}