diff options
author | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2020-02-04 20:55:50 +0700 |
---|---|---|
committer | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2020-02-04 20:55:50 +0700 |
commit | c2f678cfbc8d2f92c96b34c9cf1d829448b6ee82 (patch) | |
tree | ed3c16e07cdcac27ee5a04f7f6b1699f3c82701e /dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild | |
parent | net-im/skypeforlinux: Drop old (diff) | |
download | gentoo-c2f678cfbc8d2f92c96b34c9cf1d829448b6ee82.tar.gz gentoo-c2f678cfbc8d2f92c96b34c9cf1d829448b6ee82.tar.bz2 gentoo-c2f678cfbc8d2f92c96b34c9cf1d829448b6ee82.zip |
dev-cpp/range-v3: moved from dev-libs/range-v3
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
Diffstat (limited to 'dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild')
-rw-r--r-- | dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild b/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild new file mode 100644 index 000000000000..6386d15b5ee6 --- /dev/null +++ b/dev-cpp/range-v3/range-v3-0.10.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Range library for C++14/17/20, basis for C++20's std::ranges" +HOMEPAGE="https://github.com/ericniebler/range-v3" +SRC_URI="https://github.com/ericniebler/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="" + +src_prepare() { + sed -i -e '/Werror/d' -e '/Wextra/d' -e '/Wall/d' cmake/ranges_flags.cmake || die + sed -i -e "s@lib/cmake@"$(get_libdir)"/cmake@g" CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + mycmakeargs=( + -DRANGE_V3_EXAMPLES=OFF + -DRANGE_V3_HEADER_CHECKS=OFF + -DRANGE_V3_PERF=OFF + -DRANGE_V3_TESTS=OFF + -DRANGES_BUILD_CALENDAR_EXAMPLE=OFF + -DRANGES_NATIVE=OFF + #TODO: clang support + -DRANGES_MODULES=yes + ) + cmake_src_configure +} |