#!/bin/bash # Build script for cmake set -e cd "$SRCDIR" export PATH="/usr/gnu/bin:$PATH" # CMake uses its own bootstrap script # Note: --system-curl removed due to curl 8.x header incompatibility on illumos # (CURL_NETRC_* defined as long instead of enum) ./bootstrap \ --prefix=$PREFIX \ --system-zlib \ --parallel=${JOBS:-1} gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # CMake - Cross-platform build system # https://cmake.org/ [package] name = "cmake" version = "3.31.4" release = 1 description = "Cross-platform build system generator" url = "https://cmake.org/" license = "BSD-3-Clause" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["curl", "zlib"] build = ["curl", "zlib"] [[source]] file = "cmake-3.31.4.tar.gz" urls = ["https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4.tar.gz"] checksum = "a6130bfe75f5ba5c73e672e34359f7c0a1931521957e8393a5c2922c8b0f7f25" [build] parallel = true