You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild

24 lines
527 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGIT_REPO_URI="https://github.com/y-256/${PN}"
inherit cmake-utils multilib git-r3
DESCRIPTION="Suffix-sorting library (for BWT)"
HOMEPAGE="https://github.com/y-256/libdivsufsort"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""
src_prepare() {
cmake-utils_src_prepare
# will appreciate saner approach, if there is any
sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
*/CMakeLists.txt || die
}