commit: 25566ab8c7506f0be0b932b3eb3e1a8be1bc3e37 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> AuthorDate: Thu Apr 14 12:37:18 2016 +0000 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> CommitDate: Thu Apr 14 12:37:18 2016 +0000 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=25566ab8
sci-misc/otf2: initial commit, ebuild written by me sci-misc/otf2/Manifest | 1 + sci-misc/otf2/otf2-1.5.1.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/sci-misc/otf2/Manifest b/sci-misc/otf2/Manifest new file mode 100644 index 0000000..f0a5ec5 --- /dev/null +++ b/sci-misc/otf2/Manifest @@ -0,0 +1 @@ +DIST otf2-1.5.1.tar.gz 6185146 SHA256 a4dc9f6c99376030b43a4c7b1ee77cfb530b03928ea688c6d1a380b3f4e8e488 SHA512 6fb52e139a543c75e65ba9c8c384b950a072503d5e8154db4430499d7963fc8812e8d6fef0d35f6aa44bdca946fdb5578ea3347ebf69a2f5939fd9eb367a6699 WHIRLPOOL 038589a3060aa1b9c9ce83a7ae6d0b1760ccd53971fcab6552cea995eac8dbf0914a86366cc212b012032e80551ab31b73ffd861d6970d076e7072e1c1d2b02a diff --git a/sci-misc/otf2/otf2-1.5.1.ebuild b/sci-misc/otf2/otf2-1.5.1.ebuild new file mode 100644 index 0000000..eb2410a --- /dev/null +++ b/sci-misc/otf2/otf2-1.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="The Open Trace Format 2 is a highly scalable, memory efficient event trace data format plus support library." +HOMEPAGE="http://www.vi-hps.org/projects/score-p/" +SRC_URI="http://www.vi-hps.org/upload/packages/${PN}/${P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug doc static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND="${PYTHON_DEPS} + dev-python/jinja[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +src_configure() { + python_setup + + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable debug) +} + +src_install() { + default + + prune_libtool_files + + # we do not want a bundled jinja2 + rm -rf "${ED}/usr/share/otf2/python"/{jinja2,Jinja2*} || die + + if ! use doc ; then + rm -rf "${ED}/usr/share/doc/${PF}"/{examples,html,pdf} || die + fi +}
