mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
9dff6acc55
Now that we're generating the CMake toolchain file in the build directory, we need to redirect the ports that use CMake to the new location. Looking into this showed that there's still a bunch of work to do in general to make the ports agnostic to which toolchain they're using, there's a lot of hard-coded ${ARCH}-pc-serenity-gcc assumptions still here.
22 lines
586 B
Bash
Executable File
22 lines
586 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=cmatrix
|
|
useconfigure=true
|
|
version=git
|
|
depends="ncurses"
|
|
workdir=cmatrix-master
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip c32ca7562e58fb1fd7a96ebdfbe51c5de060709d39b67fce3c0bc42547e0ccb2"
|
|
auth_type=sha256
|
|
launcher_name=cmatrix
|
|
launcher_category=Games
|
|
launcher_command=cmatrix
|
|
launcher_run_in_terminal=true
|
|
|
|
configure() {
|
|
run cmake $configopts
|
|
}
|
|
|
|
install() {
|
|
run cp cmatrix "${SERENITY_INSTALL_ROOT}/bin"
|
|
}
|