1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit cmake-utils multilib
7 DESCRIPTION="Suffix-sorting library (for BWT)"
8 HOMEPAGE="https://github.com/y-256/libdivsufsort"
9 SRC_URI="https://github.com/y-256/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
17 cmake-utils_src_prepare
19 # will appreciate saner approach, if there is any
20 sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
21 */CMakeLists.txt || die
25 local mycmakeargs=("-DBUILD_DIVSUFSORT64=ON")
26 cmake-utils_src_configure