Hi, I noticed that there is an ebuild for libdivsufsort in the gentoo tree, but not for the SDSL, which includes a lot of other algorithms in the context of string treatment (in fact SDSL uses libdivsufsort). In order to write an ebuild, I had to patch the ebuild of libdivsufsort, introducing new IUSE flags. I also include a patch because the upstream CMakeLists.txt insists on downloading and compiling its own googletest and libdivsufsort libraries.
Created attachment 500044 [details] SDSL ebuild
Created attachment 500046 [details] libdivsufsort ebuild for version 2.0.1
Created attachment 500048 [details] libdivsufsort ebuild for live version
Created attachment 500050 [details, diff] patch for SDSL to accept external libraries