147.2. black-hole-solver-1.14.0
Solver for the Black Hole, All in a Row and Golf patience games
1.14.0-1 · MIT · 0.1 SBU · 50.9 KiB, 10 files · 41_system, 567 of 1047 · ports/core/games-board/black-hole-solver
Homepage: https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/
Depends on: cmake, ninja, perl, python3, rinutils.
Required by (1): kpat.
Sources: Path-Tiny-0.150.tar.gz (103.4 KiB), black-hole-solver-1.14.0.tar.xz (97.7 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install black-hole-solver'
build.sh:
export PERL5LIB="$SRC_ROOT/Path-Tiny-$_pathtiny/lib"
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D FCS_WITH_TEST_SUITE=OFF \
-D BUILD_STATIC_LIBRARY=OFF \
-D FCS_AVOID_TCMALLOC=ON \
-D DISABLE_APPLYING_RPATH=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
Programs: black-hole-solve.
Libraries: libblack_hole_solver.so.
Directories: /usr/include/black-hole-solver, /usr/share/licenses/black-hole-solver.