From ee2c89fc106f75f76e23668015bc241afcb2fc59 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 19 Sep 2022 08:03:51 +0200 Subject: dev-libs/libdivsufsort: Bump to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../libdivsufsort/libdivsufsort-2.0.1-r1.ebuild | 38 --------------------- .../libdivsufsort/libdivsufsort-2.0.1-r2.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 38 deletions(-) delete mode 100644 dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild create mode 100644 dev-libs/libdivsufsort/libdivsufsort-2.0.1-r2.ebuild diff --git a/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild deleted file mode 100644 index 24cae0397e53..000000000000 --- a/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit cmake toolchain-funcs - -DESCRIPTION="Suffix-sorting library (for BWT)" -HOMEPAGE="https://github.com/y-256/libdivsufsort" -SRC_URI="https://github.com/y-256/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="openmp" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - cmake_src_prepare - - # will appreciate saner approach, if there is any - sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \ - */CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - "-DBUILD_DIVSUFSORT64=ON" - "-DUSE_OPENMP=$(usex openmp)" - ) - cmake_src_configure -} diff --git a/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r2.ebuild b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r2.ebuild new file mode 100644 index 000000000000..700d1a09c135 --- /dev/null +++ b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Suffix-sorting library (for BWT)" +HOMEPAGE="https://github.com/y-256/libdivsufsort/" +SRC_URI="https://github.com/y-256/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="openmp" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + cmake_src_prepare + + # will appreciate saner approach, if there is any + sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \ + */CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + "-DBUILD_DIVSUFSORT64=ON" + "-DUSE_OPENMP=$(usex openmp)" + ) + cmake_src_configure +} -- cgit v1.2.3-65-gdbad