diff options
author | 2018-09-28 14:45:39 +0000 | |
---|---|---|
committer | 2018-09-28 14:46:39 +0000 | |
commit | 8f0617f2dd18ed58dfc5d9bff5ea91b481b3e210 (patch) | |
tree | ee69fdc48543db15ed78fd51e7b326adeebbb29b /dev-util/rr/rr-5.2.0.ebuild | |
parent | net-libs/libnetfilter_conntrack: s390/sh/m68k stable wrt bug #641228 (diff) | |
download | gentoo-8f0617f2dd18ed58dfc5d9bff5ea91b481b3e210.tar.gz gentoo-8f0617f2dd18ed58dfc5d9bff5ea91b481b3e210.tar.bz2 gentoo-8f0617f2dd18ed58dfc5d9bff5ea91b481b3e210.zip |
dev-util/rr: Version bump
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-util/rr/rr-5.2.0.ebuild')
-rw-r--r-- | dev-util/rr/rr-5.2.0.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/rr/rr-5.2.0.ebuild b/dev-util/rr/rr-5.2.0.ebuild new file mode 100644 index 000000000000..330b1821df13 --- /dev/null +++ b/dev-util/rr/rr-5.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/" +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +#PATCHES=( +# "${FILESDIR}"/${P}-sysmacros.patch +#) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} |