aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
4 files changed, 57 insertions, 6 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..352783bff
--- /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 ~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>