aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2014-02-15 23:48:27 -0800
committerSébastien Fabbro <bicatali@gentoo.org>2014-02-15 23:48:27 -0800
commitd41f081960f24b45f74b5192497a65967f027a9f (patch)
tree94ea8f1cb51175625b6831203824967fbab1ab99 /dev-libs/papi
parentdev-libs/libpfm: Version bump (diff)
downloadsci-d41f081960f24b45f74b5192497a65967f027a9f.tar.gz
sci-d41f081960f24b45f74b5192497a65967f027a9f.tar.bz2
sci-d41f081960f24b45f74b5192497a65967f027a9f.zip
added ppc
Diffstat (limited to 'dev-libs/papi')
-rw-r--r--dev-libs/papi/papi-5.3.0.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/papi/papi-5.3.0.ebuild b/dev-libs/papi/papi-5.3.0.ebuild
new file mode 100644
index 000000000..8bd3f8610
--- /dev/null
+++ b/dev-libs/papi/papi-5.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit versionator autotools-utils
+
+DESCRIPTION="Performance Application Programming Interface"
+HOMEPAGE="http://icl.cs.utk.edu/papi/"
+SRC_URI="http://icl.cs.utk.edu/projects/${PN}/downloads/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND="
+ dev-libs/libpfm[static-libs]
+ virtual/mpi
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)/src"
+
+src_configure() {
+ local myeconfargs=(
+ --with-shlib
+ --with-perf-events
+ --with-pfm-prefix="${EPREFIX}/usr"
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dodoc ../RE*
+}