public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpfm/
Date: Tue, 21 Feb 2023 16:17:13 +0000 (UTC)	[thread overview]
Message-ID: <1676996223.092fa67ed995b0393f3258b6e786c2deb1b2bf6f.flow@gentoo> (raw)

commit:     092fa67ed995b0393f3258b6e786c2deb1b2bf6f
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 16:16:56 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 16:17:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092fa67e

dev-libs/libpfm: add 4.12.0

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-libs/libpfm/Manifest             |  1 +
 dev-libs/libpfm/libpfm-4.12.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest
index ed200d478f4b..c28fc8a712d5 100644
--- a/dev-libs/libpfm/Manifest
+++ b/dev-libs/libpfm/Manifest
@@ -1 +1,2 @@
 DIST libpfm-4.11.0.tar.gz 1043686 BLAKE2B 99b4f1a5156316139603cf50cf42c13c548a0b196435bfc92bc26ebd3f8d7ec9584255978d4f3fbff45cddc937269961e9d2b65d065632ae635e9ca45c179a54 SHA512 633035b8a7b35973437572095cdc80d422b2a1a61e74e14f106db95fa8e44e4518e591699cc457f828b8f2fb63f60eef6d0c7535c6b4c9a6c3a70d4550b3c3c7
+DIST libpfm-4.12.0.tar.gz 1109288 BLAKE2B 035133d98305317b8331de9f3d986bf37b290cc80d2b944e9bac1c48a8659984ac190a0af1abe64bd9e0fee465f31ca11e3a35702f8a8da8a8a480a1aa625ac7 SHA512 dc47d862d619241db4a077a98b3f71a68f04be1be41e10c7b7dd2e596e6c79e9e0ff1d1028798dfb280553f98296b4b57339b4e6675749e1497dc1c9de06d9f8

diff --git a/dev-libs/libpfm/libpfm-4.12.0.ebuild b/dev-libs/libpfm/libpfm-4.12.0.ebuild
new file mode 100644
index 000000000000..78e428370b01
--- /dev/null
+++ b/dev-libs/libpfm/libpfm-4.12.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="static-libs"
+
+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 AR="$(tc-getAR)" CC="$(tc-getCC)" DBG=
+}
+
+src_install() {
+	emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install
+	dodoc README
+
+	if ! use static-libs ; then
+		find "${ED}" -name '*.a' -delete || die
+	fi
+
+	find "${ED}" -name '*.la' -delete || die
+}


             reply	other threads:[~2023-02-21 16:17 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21 16:17 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-10 13:21 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpfm/ Petr Vaněk
2024-08-24 14:16 Arthur Zamarin
2024-08-24 13:12 Michał Górny
2024-08-24 11:49 Sam James
2024-08-24 11:49 Sam James
2024-08-24 11:08 Arthur Zamarin
2024-08-24 11:08 Arthur Zamarin
2024-06-29 14:09 Arthur Zamarin
2024-05-28  5:15 Sam James
2023-12-30  1:26 Ionen Wolkens
2023-04-05 12:39 Arthur Zamarin
2023-04-04 23:17 Sam James
2023-04-04 22:54 Sam James
2023-04-04 22:42 Sam James
2023-04-04 22:24 Sam James
2023-04-04 19:26 Arthur Zamarin
2023-04-04 19:19 Arthur Zamarin
2022-08-13 16:00 WANG Xuerui
2022-08-02 19:50 Arthur Zamarin
2022-04-17 19:00 Sam James
2022-03-20  0:53 Sam James
2022-01-01 15:15 Arthur Zamarin
2021-04-02  8:49 Sergei Trofimovich
2021-03-27 16:04 Sam James
2021-03-27 16:04 Sam James
2021-03-26 18:37 Sam James
2021-03-26 15:54 Agostino Sarubbo
2021-03-26 14:56 Agostino Sarubbo
2021-02-27  6:19 Sam James
2021-02-27  1:00 Sam James
2021-02-27  1:00 Sam James
2021-02-27  1:00 Sam James
2021-01-07 19:04 Sam James
2021-01-07 18:57 Sam James
2021-01-04  1:32 Sam James
2021-01-04  1:32 Sam James
2021-01-04  1:32 Sam James
2020-12-18 10:14 Sergei Trofimovich
2020-05-28 15:42 Agostino Sarubbo
2020-05-26 21:56 Sergei Trofimovich
2020-05-26 21:56 Sergei Trofimovich
2019-07-28  9:34 Mikle Kolyada
2019-05-13 17:36 Aaron Bauman
2019-05-13  1:47 Aaron Bauman
2019-05-11 11:25 Mikle Kolyada
2019-05-11 11:25 Mikle Kolyada
2019-04-13  3:08 Aaron Bauman
2018-12-04 22:21 Sergei Trofimovich
2018-12-04 21:44 Sergei Trofimovich
2018-11-18 12:35 Mikle Kolyada
2017-11-13 22:37 Sergei Trofimovich
2016-11-22  6:47 Slawek Lis
2016-05-25  5:59 Jeroen Roovers
2016-05-25  5:36 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1676996223.092fa67ed995b0393f3258b6e786c2deb1b2bf6f.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox