Files
guru/dev-cpp/sprout/sprout-0_pre20190615-r1.ebuild
Paul Zander dad52a9742 dev-cpp/sprout: EAPI-8
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-11-16 22:25:21 +01:00

37 lines
834 B
Bash

# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="6b5addba9face0a6403e66e7db2aa94d87387f61"
inherit cmake
DESCRIPTION="C++11/14 constexpr based Containers, Algorithms, Random numbers and others"
HOMEPAGE="http://bolero-murakami.github.io/Sprout/"
SRC_URI="https://github.com/bolero-MURAKAMI/Sprout/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Sprout-${COMMIT}"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test texconv wavconv"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/boost:="
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/optional_binaries.patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_TESTS=$(usex test ON OFF)
-DWITH_TEXCONV=$(usex texconv ON OFF)
-DWITH_WAVCONV=$(usex wavconv ON OFF)
)
cmake_src_configure
}