summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-08 10:34:45 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-08 10:56:08 +0200
commit2f5ad9a856eae73324ddddc9bfcaa6e322dfd5dd (patch)
tree57b4e3c9b52f41d5abb9796f045391702c89007d /dev-libs/libdivsufsort
parentdev-libs/libdivsufsort: Remove live ebuild (diff)
downloadgentoo-2f5ad9a856eae73324ddddc9bfcaa6e322dfd5dd.tar.gz
gentoo-2f5ad9a856eae73324ddddc9bfcaa6e322dfd5dd.tar.bz2
gentoo-2f5ad9a856eae73324ddddc9bfcaa6e322dfd5dd.zip
dev-libs/libdivsufsort: Port to cmake.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libdivsufsort')
-rw-r--r--dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild15
1 files changed, 9 insertions, 6 deletions
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
}