summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/google-perftools/google-perftools-0.94.ebuild')
-rw-r--r--dev-libs/google-perftools/google-perftools-0.94.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/google-perftools/google-perftools-0.94.ebuild b/dev-libs/google-perftools/google-perftools-0.94.ebuild
new file mode 100644
index 0000000..04337c0
--- /dev/null
+++ b/dev-libs/google-perftools/google-perftools-0.94.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Fast, mutli-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="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="test"
+
+DEPEND="sys-libs/libunwind"
+
+# parallel make b0rks
+MAKEOPTS="-j1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ rm -rf "${D}"/usr/share/doc/${P}
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ dohtml doc/*
+}