From 2f5ad9a856eae73324ddddc9bfcaa6e322dfd5dd Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 8 Jun 2020 10:34:45 +0200 Subject: dev-libs/libdivsufsort: Port to cmake.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'dev-libs/libdivsufsort') diff --git a/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild index 644a49823e32..095839e75be3 100644 --- a/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild +++ b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit cmake-utils multilib toolchain-funcs +EAPI=7 +inherit cmake multilib toolchain-funcs DESCRIPTION="Suffix-sorting library (for BWT)" HOMEPAGE="https://github.com/y-256/libdivsufsort" @@ -22,7 +22,7 @@ pkg_setup() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare # will appreciate saner approach, if there is any sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \ @@ -30,6 +30,9 @@ src_prepare() { } src_configure() { - local mycmakeargs=("-DBUILD_DIVSUFSORT64=ON" "-DUSE_OPENMP=$(usex openmp)") - cmake-utils_src_configure + local mycmakeargs=( + "-DBUILD_DIVSUFSORT64=ON" + "-DUSE_OPENMP=$(usex openmp)" + ) + cmake_src_configure } -- cgit v1.2.3-65-gdbad