From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 047D8138BF3 for ; Mon, 17 Feb 2014 17:28:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39751E09F6; Mon, 17 Feb 2014 17:28:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40219E09E5 for ; Mon, 17 Feb 2014 17:28:18 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B1E633F7D3 for ; Mon, 17 Feb 2014 17:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id D99251872B for ; Mon, 17 Feb 2014 17:28:15 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1392535428.93060d89076f239aa809d6261ae8c806ab728d7d.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/libpfm/ X-VCS-Repository: proj/sci X-VCS-Files: dev-libs/libpfm/ChangeLog dev-libs/libpfm/libpfm-4.4.0.ebuild dev-libs/libpfm/metadata.xml X-VCS-Directories: dev-libs/libpfm/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 93060d89076f239aa809d6261ae8c806ab728d7d X-VCS-Branch: master Date: Mon, 17 Feb 2014 17:28:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5feb57aa-492b-4f1d-a23b-8c913a64b7c5 X-Archives-Hash: 64989bba2a86e5c6eb2ef9f8912bfdf9 commit: 93060d89076f239aa809d6261ae8c806ab728d7d Author: Sébastien Fabbro gentoo org> AuthorDate: Sun Feb 16 07:23:48 2014 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Sun Feb 16 07:23:48 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=93060d89 dev-libs/libpfm: Version bump Package-Manager: portage-2.2.8-prefix --- dev-libs/libpfm/ChangeLog | 8 +++++++- dev-libs/libpfm/libpfm-4.4.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ dev-libs/libpfm/metadata.xml | 18 +++++++++++++----- 3 files changed, 56 insertions(+), 6 deletions(-) diff --git a/dev-libs/libpfm/ChangeLog b/dev-libs/libpfm/ChangeLog index eab15dd..b3e75ce 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 +libpfm-4.4.0.ebuild, + metadata.xml: + dev-libs/libpfm: Version bump + 28 Feb 2013; Alexey Shvetsov libpfm-4.3.0.ebuild: Add ~x86 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 0000000..352783b --- /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 fe31728..83f02cf 100644 --- a/dev-libs/libpfm/metadata.xml +++ b/dev-libs/libpfm/metadata.xml @@ -1,9 +1,17 @@ - sci - - alexxy@gentoo.org - Alexey Shvetsov - +sci + + alexxy@gentoo.org + Alexey Shvetsov + + + 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. +