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 5A1B1198005 for ; Thu, 28 Feb 2013 04:52:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C6DEE062C; Thu, 28 Feb 2013 04:52:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 002ACE062C for ; Thu, 28 Feb 2013 04:52:45 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B68F133DC9D for ; Thu, 28 Feb 2013 04:52:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 415E5E41E2 for ; Thu, 28 Feb 2013 04:52:43 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1362025892.a6dffb75566d674b0f27e28aaba359a71abc8dee.alexxy@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.3.0.ebuild dev-libs/libpfm/metadata.xml X-VCS-Directories: dev-libs/libpfm/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: a6dffb75566d674b0f27e28aaba359a71abc8dee X-VCS-Branch: master Date: Thu, 28 Feb 2013 04:52:43 +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: 8ec3e20e-3abd-4cb9-a865-e84b9285ec34 X-Archives-Hash: 61dd1914710b784352637bedfd08461a commit: a6dffb75566d674b0f27e28aaba359a71abc8dee Author: Alexey Shvetsov gentoo org> AuthorDate: Thu Feb 28 04:31:32 2013 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Thu Feb 28 04:31:32 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a6dffb75 Initial import Package-Manager: portage-2.2.0_alpha163 --- dev-libs/libpfm/ChangeLog | 9 +++++++++ dev-libs/libpfm/libpfm-4.3.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ dev-libs/libpfm/metadata.xml | 9 +++++++++ 3 files changed, 53 insertions(+), 0 deletions(-) diff --git a/dev-libs/libpfm/ChangeLog b/dev-libs/libpfm/ChangeLog new file mode 100644 index 0000000..6d7284c --- /dev/null +++ b/dev-libs/libpfm/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-libs/libpfm +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*libpfm-4.3.0 (28 Feb 2013) + + 28 Feb 2013; Alexey Shvetsov +libpfm-4.3.0.ebuild, + +metadata.xml: + Initial import diff --git a/dev-libs/libpfm/libpfm-4.3.0.ebuild b/dev-libs/libpfm/libpfm-4.3.0.ebuild new file mode 100644 index 0000000..f41c0d3 --- /dev/null +++ b/dev-libs/libpfm/libpfm-4.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2013 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" +KEYWORDS="~amd64" +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 '{}' + +} diff --git a/dev-libs/libpfm/metadata.xml b/dev-libs/libpfm/metadata.xml new file mode 100644 index 0000000..fe31728 --- /dev/null +++ b/dev-libs/libpfm/metadata.xml @@ -0,0 +1,9 @@ + + + + sci + + alexxy@gentoo.org + Alexey Shvetsov + +