2021-02-11 22:07:29 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=cmake
|
|
|
|
version=3.19.4
|
2021-04-17 11:47:55 +03:00
|
|
|
useconfigure=true
|
2021-04-25 13:20:15 +03:00
|
|
|
files="https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version.tar.gz cmake-$version.tar.gz 7d0232b9f1c57e8de81f38071ef8203e6820fe7eec8ae46a1df125d88dbcc2e1"
|
|
|
|
auth_type=sha256
|
2021-04-17 11:47:55 +03:00
|
|
|
depends="bash gcc make sed ncurses"
|
2021-04-20 03:51:04 +03:00
|
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
|
2021-02-11 22:07:29 +03:00
|
|
|
|
2021-04-17 11:47:55 +03:00
|
|
|
configure() {
|
|
|
|
run cmake $configopts .
|
2021-02-11 22:07:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2021-04-17 11:47:55 +03:00
|
|
|
run make install
|
2021-02-11 22:07:29 +03:00
|
|
|
}
|