# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ 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/google-perftools-0.97.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="doc" DEPEND="" RDEPEND="" src_install() { emake DESTDIR="${D}" install || die "Install failed" use doc || rm -rf "${D}"/usr/share/doc }