guru/dev-cpp/sprout/sprout-0_pre20190615.ebuild
Theo Anderson dca4f3fb14
dev-cpp/sprout: depend dev-libs/boost
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
2021-01-28 22:50:22 +13:00

37 lines
834 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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
}