summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-04 11:14:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-05 18:40:24 +0100
commit4ffa10f6a70318d6b036be816b8da47711eeebb7 (patch)
tree35b94fcd095507458864e1f62a5504867c75d61e /sci-libs/symengine
parentsci-mathematics: Switch to cmake.eclass (diff)
downloadgentoo-4ffa10f6a70318d6b036be816b8da47711eeebb7.tar.gz
gentoo-4ffa10f6a70318d6b036be816b8da47711eeebb7.tar.bz2
gentoo-4ffa10f6a70318d6b036be816b8da47711eeebb7.zip
*/*: Switch sci-biology proj to cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/symengine')
-rw-r--r--sci-libs/symengine/symengine-0.5.0.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-libs/symengine/symengine-0.5.0.ebuild b/sci-libs/symengine/symengine-0.5.0.ebuild
index 725e60e3d7f9..6b84f4677d6c 100644
--- a/sci-libs/symengine/symengine-0.5.0.ebuild
+++ b/sci-libs/symengine/symengine-0.5.0.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-inherit cmake-utils flag-o-matic
+CMAKE_BUILD_TYPE=Release
+inherit cmake flag-o-matic
DESCRIPTION="Fast symbolic manipulation library, written in C++"
HOMEPAGE="https://github.com/sympy/symengine"
@@ -33,7 +34,7 @@ pkg_pretend() {
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -e "s|DESTINATION doc| DESTINATION share/doc/${PF}/html|" \
-e "s|/lib|/$(get_libdir)|g" \
-e "s|lib/|$(get_libdir)/|g" \
@@ -57,7 +58,6 @@ src_configure() {
local mycmakeargs=(
-DARB_INCLUDE_DIR="${EPREFIX}/usr/include"
-DINTEGER_CLASS="${int_class}"
- -DBUILD_SHARED_LIBS=ON
-DBUILD_BENCHMARKS="$(usex benchmarks)"
-DBUILD_DOXYGEN="$(usex doc)"
-DBUILD_TESTS="$(usex test)"
@@ -75,5 +75,5 @@ src_configure() {
-DWITH_ECM="$(usex ecm)"
)
test-flag-CXX -std=c++11 && append-cxxflags -std=c++11
- CMAKE_BUILD_TYPE=Release cmake-utils_src_configure
+ cmake_src_configure
}