aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2013-02-28 09:11:13 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2013-02-28 09:11:13 +0400
commit26daba777e4fe1d62e552e5891ba2ea2e109c6bf (patch)
tree7c49cbc0a5350f88af217ffd3adfdf64116b1d83 /dev-libs/papi
parentAdd ~x86 (diff)
downloadsci-26daba777e4fe1d62e552e5891ba2ea2e109c6bf.tar.gz
sci-26daba777e4fe1d62e552e5891ba2ea2e109c6bf.tar.bz2
sci-26daba777e4fe1d62e552e5891ba2ea2e109c6bf.zip
Initial import
Package-Manager: portage-2.2.0_alpha163
Diffstat (limited to 'dev-libs/papi')
-rw-r--r--dev-libs/papi/ChangeLog9
-rw-r--r--dev-libs/papi/Manifest1
-rw-r--r--dev-libs/papi/metadata.xml9
-rw-r--r--dev-libs/papi/papi-5.1.0.2.ebuild30
4 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/papi/ChangeLog b/dev-libs/papi/ChangeLog
new file mode 100644
index 000000000..4ea86d2ce
--- /dev/null
+++ b/dev-libs/papi/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/papi
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*papi-5.1.0.2 (28 Feb 2013)
+
+ 28 Feb 2013; Alexey Shvetsov <alexxy@gentoo.org> +metadata.xml,
+ +papi-5.1.0.2.ebuild:
+ Initial import
diff --git a/dev-libs/papi/Manifest b/dev-libs/papi/Manifest
new file mode 100644
index 000000000..2c2064a83
--- /dev/null
+++ b/dev-libs/papi/Manifest
@@ -0,0 +1 @@
+DIST papi-5.1.0.2.tar.gz 3781062 SHA256 141fd3dbeb32120ba8ca5f6a64250c22167b5224457f8ea1c3f28c8774468a1c SHA512 c52a762ba5492c25fde284f86999fdbe38007da73ee09949d15c392935bd03004304a1194e331032961d370247c3b6c49c62504b0fce42985fd8fcf6cc97702f WHIRLPOOL 58642c1f49f5f554553245cca38d6f034dbe4981efffecf32fadff468e07670b98618c1a793980dfa6194a55dc7d9668efd9c0eb4bfed899504cadaa64968aad
diff --git a/dev-libs/papi/metadata.xml b/dev-libs/papi/metadata.xml
new file mode 100644
index 000000000..fe317282e
--- /dev/null
+++ b/dev-libs/papi/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/papi/papi-5.1.0.2.ebuild b/dev-libs/papi/papi-5.1.0.2.ebuild
new file mode 100644
index 000000000..56fab5adf
--- /dev/null
+++ b/dev-libs/papi/papi-5.1.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit versionator
+
+DESCRIPTION="Performance Application Programming Interface"
+HOMEPAGE="http://icl.cs.utk.edu/papi/index.html"
+SRC_URI="http://icl.cs.utk.edu/projects/papi/downloads/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+DEPEND="
+ dev-libs/libpfm[static-libs]
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)/src"
+
+src_configure() {
+ econf \
+ --with-perf-events \
+ --with-pfm-prefix="${EPREFIX}/usr" \
+ $(use_with static-libs)
+}