diff options
author | Slawek Lis <slis@gentoo.org> | 2014-07-31 11:13:34 +0000 |
---|---|---|
committer | Slawek Lis <slis@gentoo.org> | 2014-07-31 11:13:34 +0000 |
commit | ee038411ede0da9a2a9fd26daa3a58d4ac97b39a (patch) | |
tree | 2078056c33929e7a91fa4a5e191ce417244d0d3a /dev-libs/libpfm | |
parent | QA: drop bogus dependency on glibc, package works with uClibc as well (diff) | |
download | gentoo-2-ee038411ede0da9a2a9fd26daa3a58d4ac97b39a.tar.gz gentoo-2-ee038411ede0da9a2a9fd26daa3a58d4ac97b39a.tar.bz2 gentoo-2-ee038411ede0da9a2a9fd26daa3a58d4ac97b39a.zip |
Added libpfm package
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
Diffstat (limited to 'dev-libs/libpfm')
-rw-r--r-- | dev-libs/libpfm/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libpfm/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libpfm/libpfm-4.4.0.ebuild | 36 | ||||
-rw-r--r-- | dev-libs/libpfm/metadata.xml | 7 |
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libpfm/ChangeLog b/dev-libs/libpfm/ChangeLog new file mode 100644 index 000000000000..34947745099f --- /dev/null +++ b/dev-libs/libpfm/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-libs/libpfm +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpfm/ChangeLog,v 1.1 2014/07/31 11:13:34 slis Exp $ + +*libpfm-4.4.0 (31 Jul 2014) + + 31 Jul 2014; Sławek Lis <slis@gentoo.org> +libpfm-4.4.0.ebuild, +metadata.xml: + Added libpfm package diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest new file mode 100644 index 000000000000..2004cc5c5967 --- /dev/null +++ b/dev-libs/libpfm/Manifest @@ -0,0 +1,3 @@ +DIST libpfm-4.4.0.tar.gz 649910 SHA256 8351ff4bbab4e4cbf6f17f76dd18698ef3a7dff766ea0cfa1a6d60bce36f7c9c SHA512 e7f9b50d0c71c08697283d043231234b39695fda6796ad1e2c48fdd67e2936a3cf5d864b5e1b9c68a34f1d726f2b273eb1267adec3060085f3a51e9886f5704a WHIRLPOOL 9f1f1cbb2e56a3269b9f88c81273e69976d95e6557e1f1e08ade249cacbb6368e422e77c38d19603e28892683c37270e176f8854bfdfb6646b935c3e024d332f +EBUILD libpfm-4.4.0.ebuild 833 SHA256 126b72301b69f672548e5eae5ae54d562c8cc91368f591a55da2f5d2b0c0e0dd SHA512 836d7567315b40a18f11d68a3be250d73843ebe7dc2449c20b3efa9697d6cc1b3f8a15ed9e39c128cf1596a2693b9a087d99bab45061b6a386d4ee67492b7b92 WHIRLPOOL da50d755b9cdff66988fe73019fe0bec398499d840e022c12cd5ec5d6c6635f738a19d9adbd8ae867924a70f9aaa45d59fae64fcf90cd7c38752ce7ce7d48714 +MISC metadata.xml 205 SHA256 132e3db1188fcdf8aa6467bde8677e24fc63015666de6104a656a5b074932454 SHA512 e53c51c47b6f2ba5302d5fe6ee9524fe49c69d2b03d66aa0a3054185c7c0a83dedeec75ea15424afe22f1423d72c5bbc1c1e07c6bdbdd1912d8eb8e046a4ef58 WHIRLPOOL 5f4c6dfd2f9dae15971877f2eb53c1d9f6196a42dc62b2d95ffd2060f119d7e0794541b3d8ca565f9ca48479325d19864f74a85289c83d5a5e2396f9144d161c 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 000000000000..1c66a57433d8 --- /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: /var/cvsroot/gentoo-x86/dev-libs/libpfm/libpfm-4.4.0.ebuild,v 1.1 2014/07/31 11:13:34 slis Exp $ + +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" +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 new file mode 100644 index 000000000000..1847f17d2266 --- /dev/null +++ b/dev-libs/libpfm/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>slis@gentoo.org</email> + </maintainer> +</pkgmetadata> |