summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-11-22 07:47:30 +0100
committerSlawomir Lis <slis@gentoo.org>2016-11-22 07:47:52 +0100
commit4830bec38a7668ef9590c33782fe704d27ec4aa3 (patch)
treeff463f571c77f14c48ffad3c80231d937438b577 /dev-libs/libpfm
parentdev-lang/ruby: add 2.3.3, drop 2.3.2 due to regression bug (diff)
downloadgentoo-4830bec38a7668ef9590c33782fe704d27ec4aa3.tar.gz
gentoo-4830bec38a7668ef9590c33782fe704d27ec4aa3.tar.bz2
gentoo-4830bec38a7668ef9590c33782fe704d27ec4aa3.zip
dev-libs/libpfm: version bump to 4.8.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-libs/libpfm')
-rw-r--r--dev-libs/libpfm/Manifest1
-rw-r--r--dev-libs/libpfm/libpfm-4.8.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest
index 03a78ae80a13..1b1e8408ed3c 100644
--- a/dev-libs/libpfm/Manifest
+++ b/dev-libs/libpfm/Manifest
@@ -1,2 +1,3 @@
DIST libpfm-4.4.0.tar.gz 649910 SHA256 8351ff4bbab4e4cbf6f17f76dd18698ef3a7dff766ea0cfa1a6d60bce36f7c9c SHA512 e7f9b50d0c71c08697283d043231234b39695fda6796ad1e2c48fdd67e2936a3cf5d864b5e1b9c68a34f1d726f2b273eb1267adec3060085f3a51e9886f5704a WHIRLPOOL 9f1f1cbb2e56a3269b9f88c81273e69976d95e6557e1f1e08ade249cacbb6368e422e77c38d19603e28892683c37270e176f8854bfdfb6646b935c3e024d332f
DIST libpfm-4.6.0.tar.gz 767447 SHA256 5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f SHA512 73bd11bd0c11c0ec2fa71935c967f36431a00b548b8b47575e00e8cc3e1f8ef3fc2d449d493f51a198eaba5b1629cdf79330cbe2a8ca8867e15fddbfdbf571dc WHIRLPOOL e6d9747ef22f82b47e5a63da73e178869eddda36fdbc0094de957297ef2a646085a1b2527e8592ae719b18ecc2de903fa451a1acd2dcaf57be4e1f3e7e4848cf
+DIST libpfm-4.8.0.tar.gz 828853 SHA256 9193787a73201b4254e3669243fd71d15a9550486920861912090a09f366cf68 SHA512 a06f3713c70fb4fe694154057604ae42627ad764486a3d3e28b0ef2e46fdd0a0431ec1a3c52ebc711ae174a1fbd7b3ddd0c736a568f57d4606ecf8064ff38228 WHIRLPOOL 3e6faf2a36d0e4f8bcfaa468c41c61c5f668b3fab8e899f0ea45cc04add3a069dec1fb774da4faa9b6933680e6f1eb6c160561482400f48c19abafd5f7edc261
diff --git a/dev-libs/libpfm/libpfm-4.8.0.ebuild b/dev-libs/libpfm/libpfm-4.8.0.ebuild
new file mode 100644
index 000000000000..3f9897083ef1
--- /dev/null
+++ b/dev-libs/libpfm/libpfm-4.8.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 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 ~ppc64 ~x86"
+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
+}