aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libpfm/ChangeLog8
-rw-r--r--dev-libs/libpfm/Manifest1
-rw-r--r--dev-libs/libpfm/libpfm-4.4.0.ebuild36
-rw-r--r--dev-libs/libpfm/metadata.xml18
-rw-r--r--dev-libs/papi/ChangeLog5
-rw-r--r--dev-libs/papi/Manifest1
-rw-r--r--dev-libs/papi/metadata.xml16
-rw-r--r--dev-libs/papi/papi-5.3.0.ebuild39
8 files changed, 112 insertions, 12 deletions
diff --git a/dev-libs/libpfm/ChangeLog b/dev-libs/libpfm/ChangeLog
index eab15dd01..b3e75ce19 100644
--- a/dev-libs/libpfm/ChangeLog
+++ b/dev-libs/libpfm/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for dev-libs/libpfm
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*libpfm-4.4.0 (16 Feb 2014)
+
+ 16 Feb 2014; S├ębastien Fabbro <bicatali@gentoo.org> +libpfm-4.4.0.ebuild,
+ metadata.xml:
+ dev-libs/libpfm: Version bump
+
28 Feb 2013; Alexey Shvetsov <alexxy@gentoo.org> libpfm-4.3.0.ebuild:
Add ~x86
diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest
index d84d1e79c..d7d9672db 100644
--- a/dev-libs/libpfm/Manifest
+++ b/dev-libs/libpfm/Manifest
@@ -1 +1,2 @@
DIST libpfm-4.3.0.tar.gz 581976 SHA256 a23eb9affbff279e13563a39317c0ad71c4de28908d4243c8bc109138430cc3b SHA512 556bc1e4e2bcd5672dbf083f2d726c3f94a2434791a8085da28137d763aa3c1fdd45e947b11d467ca6dc131c7f7141eaf3ca5397d8fd260f0c8c81359adf97c8 WHIRLPOOL 5cd0dd88f8068617025fa408798b9fe7db6cc0a2e5d2b5b0522839f7579b7304a93af1c7a24971f848e330e1ff216c7f9568275203156c262ab06b2191b878c2
+DIST libpfm-4.4.0.tar.gz 649910 SHA256 8351ff4bbab4e4cbf6f17f76dd18698ef3a7dff766ea0cfa1a6d60bce36f7c9c SHA512 e7f9b50d0c71c08697283d043231234b39695fda6796ad1e2c48fdd67e2936a3cf5d864b5e1b9c68a34f1d726f2b273eb1267adec3060085f3a51e9886f5704a WHIRLPOOL 9f1f1cbb2e56a3269b9f88c81273e69976d95e6557e1f1e08ade249cacbb6368e422e77c38d19603e28892683c37270e176f8854bfdfb6646b935c3e024d332f
diff --git a/dev-libs/libpfm/libpfm-4.4.0.ebuild b/dev-libs/libpfm/libpfm-4.4.0.ebuild
new file mode 100644
index 000000000..848aca7a0
--- /dev/null
+++ b/dev-libs/libpfm/libpfm-4.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Hardware-based performance monitoring interface for Linux"
+HOMEPAGE="http://perfmon2.sourceforge.net"
+SRC_URI="mirror://sourceforge/perfmon2/${PN}4/${P}.tar.gz"
+
+LICENSE="GPL-2 MIT"
+SLOT="0/4"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -e "s:SLDFLAGS=:SLDFLAGS=\$(LDFLAGS) :g" \
+ -i lib/Makefile || die
+ sed -e "s:LIBDIR=\$(PREFIX)/lib:LIBDIR=\$(PREFIX)/$(get_libdir):g" \
+ -i config.mk || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install
+ use static-libs || find "${ED}" -name '*.a' -exec rm -f '{}' +
+ dodoc README
+}
diff --git a/dev-libs/libpfm/metadata.xml b/dev-libs/libpfm/metadata.xml
index fe317282e..83f02cf0e 100644
--- a/dev-libs/libpfm/metadata.xml
+++ b/dev-libs/libpfm/metadata.xml
@@ -1,9 +1,17 @@
<?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>
+<herd>sci</herd>
+<maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+</maintainer>
+<longdescription>
+ Libpfm4 helps convert from an event name, expressed as a string, to
+ the event encoding. The encoding can then be used with specific OS
+ interfaces. Libpfm4 also provides OS-specific interfaces to directly
+ setup OS-specific data structures to be passed to the kernel. The
+ current libpfm4, for instance, provides support for the perf_events
+ interface.
+</longdescription>
</pkgmetadata>
diff --git a/dev-libs/papi/ChangeLog b/dev-libs/papi/ChangeLog
index 4ea86d2ce..fe89460b0 100644
--- a/dev-libs/papi/ChangeLog
+++ b/dev-libs/papi/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for dev-libs/papi
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Feb 2014; S├ębastien Fabbro <bicatali@gentoo.org> metadata.xml:
+ dev-libs/papi: Version bump
+
*papi-5.1.0.2 (28 Feb 2013)
28 Feb 2013; Alexey Shvetsov <alexxy@gentoo.org> +metadata.xml,
diff --git a/dev-libs/papi/Manifest b/dev-libs/papi/Manifest
index 2c2064a83..b4c96f201 100644
--- a/dev-libs/papi/Manifest
+++ b/dev-libs/papi/Manifest
@@ -1 +1,2 @@
DIST papi-5.1.0.2.tar.gz 3781062 SHA256 141fd3dbeb32120ba8ca5f6a64250c22167b5224457f8ea1c3f28c8774468a1c SHA512 c52a762ba5492c25fde284f86999fdbe38007da73ee09949d15c392935bd03004304a1194e331032961d370247c3b6c49c62504b0fce42985fd8fcf6cc97702f WHIRLPOOL 58642c1f49f5f554553245cca38d6f034dbe4981efffecf32fadff468e07670b98618c1a793980dfa6194a55dc7d9668efd9c0eb4bfed899504cadaa64968aad
+DIST papi-5.3.0.tar.gz 3928589 SHA256 99f2f36398b370e75d100b4a189d5bc0ac4f5dd66df44d441f88fd32e1421524 SHA512 a88d28d895a1b44b0d05ac90c39406b7e9806a1d865b39df405e55b27d7f6bb191330ed7df52d4f3f04f46ff94ce867e6c1bdd9b38c314652cff1ee9d838b226 WHIRLPOOL cf1074f259831283292b57b636b6b0083a11ec6084bce2361eabe3ca706fd3d2420d3ab4074c8024296b06d11223a1dcc9782040ab08502481498b84bb2517e6
diff --git a/dev-libs/papi/metadata.xml b/dev-libs/papi/metadata.xml
index fe317282e..28feb32ae 100644
--- a/dev-libs/papi/metadata.xml
+++ b/dev-libs/papi/metadata.xml
@@ -1,9 +1,15 @@
<?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>
+<herd>sci</herd>
+<maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+</maintainer>
+<longdescription>
+ Performance Application Programming Interface provides the tool
+ designer and application engineer with a consistent interface and
+ methodology for use of the performance counter hardware found in
+ most major microprocessors.
+</longdescription>
</pkgmetadata>
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*
+}