diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-12-04 22:00:23 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-12-04 22:20:53 +0000 |
commit | adca6824fd65d3316650ad10183de31f2b7a3c87 (patch) | |
tree | 0cffcf60505ac06b0db426a8a15c2eb074e3baeb /dev-libs | |
parent | sci-libs/armadillo: Version bump (diff) | |
download | gentoo-adca6824fd65d3316650ad10183de31f2b7a3c87.tar.gz gentoo-adca6824fd65d3316650ad10183de31f2b7a3c87.tar.bz2 gentoo-adca6824fd65d3316650ad10183de31f2b7a3c87.zip |
dev-libs/libpfm: bump up to 4.10.1, bug #666615
Reported-by: Jan Ziak
Closes: https://bugs.gentoo.org/666615
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libpfm/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libpfm/libpfm-4.10.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest index a870beebf141..10c81aeca0ab 100644 --- a/dev-libs/libpfm/Manifest +++ b/dev-libs/libpfm/Manifest @@ -1,3 +1,4 @@ +DIST libpfm-4.10.1.tar.gz 1005988 BLAKE2B 7bdc64540cdf0404bfab0a631e506f37a79ca090d68c798fe4943f627ebc3e15e01f6c4530d4eec2c82a6f759845af518cbf34b3ad19ecc5fa48a874611aaa16 SHA512 33d99824216b4d83784e0db9f1aae3b39f84c2ba42dee64dde0b3c43cc5ee3a18c206d9044e75bf10867768add7cb9967c6318f7aa196f178f334271fa05e1aa DIST libpfm-4.4.0.tar.gz 649910 BLAKE2B f74246d1ee23c7793e89db5d96f7abca581932273e3b0c8669c4e0ae54907e3bf53c3c1a5d09cee93458802263159f0ab808ff62774a422257a7f781c6ce454a SHA512 e7f9b50d0c71c08697283d043231234b39695fda6796ad1e2c48fdd67e2936a3cf5d864b5e1b9c68a34f1d726f2b273eb1267adec3060085f3a51e9886f5704a DIST libpfm-4.6.0.tar.gz 767447 BLAKE2B 2374abdbc9d886d4e0101a2dc77e699a47abdbd67c0f490706ae78032b89b5ecf9d577ab8f0ca297841ddb3b39da6994e833fea8659cfd21b5fbcdc53f2f84c3 SHA512 73bd11bd0c11c0ec2fa71935c967f36431a00b548b8b47575e00e8cc3e1f8ef3fc2d449d493f51a198eaba5b1629cdf79330cbe2a8ca8867e15fddbfdbf571dc DIST libpfm-4.8.0.tar.gz 828853 BLAKE2B e6caa0ffa4584dab805ef08ce5318bf73fda906afddb30b1490a34ec62e522a6bb713563c5ffecb22596e6c5c1c06c245c5b9bc59fea74face90a9edcbfb4eac SHA512 a06f3713c70fb4fe694154057604ae42627ad764486a3d3e28b0ef2e46fdd0a0431ec1a3c52ebc711ae174a1fbd7b3ddd0c736a568f57d4606ecf8064ff38228 diff --git a/dev-libs/libpfm/libpfm-4.10.1.ebuild b/dev-libs/libpfm/libpfm-4.10.1.ebuild new file mode 100644 index 000000000000..171f7b33de9f --- /dev/null +++ b/dev-libs/libpfm/libpfm-4.10.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~arm ~ppc64 ~x86" +IUSE="static-libs" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + 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() { + # 'DBG=' unsets '-Werror' and other optional flags, bug #664294 + emake CC=$(tc-getCC) DBG= +} + +src_install() { + emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install + use static-libs || find "${ED}" -name '*.a' -exec rm -f '{}' + + dodoc README +} |