mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
18 lines
561 B
Bash
Executable file
18 lines
561 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='stockfish'
|
|
version='16'
|
|
useconfigure='false'
|
|
files=(
|
|
"https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_${version}.tar.gz a1600ebdaf4e324ba3e10cec2e0c9a810dc64c6f0db5cc955b2fd5e1eefa1cc6"
|
|
)
|
|
workdir="Stockfish-sf_${version}/src/"
|
|
makeopts+=(ARCH="${SERENITY_ARCH}" SUPPORTED_ARCH=true COMPCXX="${CXX}")
|
|
|
|
build() {
|
|
run make build "${makeopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin/"
|
|
run cp stockfish "${SERENITY_INSTALL_ROOT}/usr/local/bin/"
|
|
}
|