-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
HOMEPAGE="https://github.com/gperftools/gperftools"
-SRC_URI="https://github.com/gperftools/gperftools/tarball/${MY_P} -> ${MY_P}.tar.gz"
+SRC_URI="https://github.com/gperftools/gperftools/archive/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0/4"
# linux x86/amd64/ppc/ppc64/arm
# OSX ppc/amd64
# AIX ppc/ppc64
-KEYWORDS="-* ~amd64 ~arm ~arm64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="-* amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="largepages +debug minimal optimisememory test static-libs"
+RESTRICT="!test? ( test )"
DEPEND="sys-libs/libunwind"
RDEPEND="${DEPEND}"
append-flags -fno-strict-aliasing -fno-omit-frame-pointer
econf \
- --htmldir=${EPREFIX}/usr/share/doc/${PF}/html \
- --docdir=${EPREFIX}/usr/share/doc/${PF} \
--enable-shared \
$(use_enable static-libs static) \
$(use_enable debug debugalloc) \