Otok public index

apotocki/cmake

apotocki/cmake 4.4.5 (r1, apple)

Library
cmake
Variant
apple, target apple
Channel
stable
Published
2026-11-07
Recipe source
https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5e in recipes/cmake/4.4/apple/
Recipe SHA-256
d8dedd17df5cd7d576d9c016ab2d32daa705f7d09d4a574629d4c755a3ac75ed

Recipe files changed

Inputs

source.sha256a0c54c88abb8078dd8eccadb717fc6bb194bf18e7d44c86309910288886e04e2
source.urlhttps://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5.tar.gz
resource macos.sha256679e77a96b9ef9484cc6c1445255fc4f84206b48a65420efbedf16bdab55fbff
resource macos.urlhttps://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-macos-universal.tar.gz

Platforms

macosx

Recipe files

build.lua 498 bytes · raw
-- The release binaries, copied whole into the prefix from CMake.app/Contents: cmake finds its modules (share/cmake-4.4)
-- beside its bin/.
function build(slice, options, deps)
    local release = slice.resources.macos .. "/CMake.app/Contents"
    local p = slice.prefix
    for _, dir in ipairs{ "bin", "share" } do
        otok.copy(release .. "/" .. dir, p .. "/" .. dir)
    end
    return { programs = { cmake = p .. "/bin/cmake", ctest = p .. "/bin/ctest", cpack = p .. "/bin/cpack" } }
end
recipe.toml 1115 bytes · raw
# The otok recipe of CMake (https://github.com/apotocki/otok): the cmake program for the builds of other recipes, which
# name it as their toolchain (`cmake = { default-recipe = "apotocki/cmake" }`), on macOS: Kitware's universal release
# binaries; the source archive carries the license.
[recipe]
api = 1
library = "cmake"
name = "cmake"
version = "4.4.5"
revision = 1
license = "BSD-3-Clause"
license-files = ["LICENSE.rst"]
homepage = "https://cmake.org"
description = "CMake, the cross-platform build system generator, as Kitware releases it."
keywords = ["build", "tool"]

[tool]
programs = ["cmake", "ctest", "cpack"]

[source]
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5.tar.gz"
sha256 = "a0c54c88abb8078dd8eccadb717fc6bb194bf18e7d44c86309910288886e04e2"

[[resource]]
name = "macos"
url = "https://github.com/Kitware/CMake/releases/download/v4.4.5/cmake-4.4.5-macos-universal.tar.gz"
sha256 = "679e77a96b9ef9484cc6c1445255fc4f84206b48a65420efbedf16bdab55fbff"
when = { host = ["macos-arm64", "macos-x86_64"] }

[platforms]
supported = ["macosx"]
build-on = ["macos/xcode"]