forked from rosa/hakurei
46 lines
958 B
Go
46 lines
958 B
Go
package cmake {
|
|
description = "cross-platform, open-source build system";
|
|
website = "https://cmake.org";
|
|
anitya = 306;
|
|
|
|
version* = "4.3.3";
|
|
source = remoteGitHubRelease {
|
|
suffix = "Kitware/CMake";
|
|
tag = "v"+version;
|
|
name = "cmake-"+version+".tar.gz";
|
|
checksum = "VS-b6cN4S9hfNv3JOUAbAfI9nh3EeuVwY_IVgUdgq6VKwvfchhXwvvFAUcpZG6Ez";
|
|
compress = gzip;
|
|
};
|
|
patches = [
|
|
"bootstrap-test-no-openssl.patch",
|
|
"disable-broken-tests-musl.patch",
|
|
];
|
|
|
|
// test suite expects writable source tree
|
|
writable = true;
|
|
|
|
// expected to be writable in the copy made during bootstrap
|
|
chmod = true;
|
|
|
|
exec = make {
|
|
omitDefaults = true;
|
|
|
|
configureName = "/usr/src/cmake/bootstrap";
|
|
configure = {
|
|
"prefix": "/system";
|
|
"parallel": jobsE;
|
|
"--";
|
|
"-DCMAKE_USE_OPENSSL": "OFF";
|
|
"-DCMake_TEST_NO_NETWORK": "ON";
|
|
};
|
|
|
|
check = [
|
|
"CTEST_OUTPUT_ON_FAILURE=1",
|
|
"CTEST_PARALLEL_LEVEL=128",
|
|
"test",
|
|
];
|
|
};
|
|
|
|
inputs = [ kernel-headers ];
|
|
}
|