diff options
-rw-r--r-- | dev-libs/libpfm/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libpfm/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libpfm/libpfm-4.3.0.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/libpfm/metadata.xml | 9 |
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libpfm/ChangeLog b/dev-libs/libpfm/ChangeLog new file mode 100644 index 000000000..6d7284ce1 --- /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 <alexxy@gentoo.org> +libpfm-4.3.0.ebuild, + +metadata.xml: + Initial import diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest new file mode 100644 index 000000000..d84d1e79c --- /dev/null +++ b/dev-libs/libpfm/Manifest @@ -0,0 +1 @@ +DIST libpfm-4.3.0.tar.gz 581976 SHA256 a23eb9affbff279e13563a39317c0ad71c4de28908d4243c8bc109138430cc3b SHA512 556bc1e4e2bcd5672dbf083f2d726c3f94a2434791a8085da28137d763aa3c1fdd45e947b11d467ca6dc131c7f7141eaf3ca5397d8fd260f0c8c81359adf97c8 WHIRLPOOL 5cd0dd88f8068617025fa408798b9fe7db6cc0a2e5d2b5b0522839f7579b7304a93af1c7a24971f848e330e1ff216c7f9568275203156c262ab06b2191b878c2 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 000000000..f41c0d3ee --- /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 000000000..fe317282e --- /dev/null +++ b/dev-libs/libpfm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <maintainer> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> +</pkgmetadata> |