# Copyright 1999-2009 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.4.ebuild,v 1.2 2009/10/26 18:01:40 swegener 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 }