Files
MX_Pmodule/Programming/cmake/build
Achim Gsell d807f1d0f7 Programming/cmake: fixes and new version 3.13.3
- use system libcurl on all systems, otherwise https doesn't work
2019-01-17 14:16:39 +01:00

17 lines
339 B
Plaintext
Executable File

#!/usr/bin/env modbuild
pbuild::set_download_url "https://cmake.org/files/v${V_MAJOR}.${V_MINOR}/$P-$V.tar.gz"
pbuild::add_to_group 'Programming'
declare bootstrap_flags=''
pbuild::pre_configure() {
bootstrap_flags+='--system-curl'
}
pbuild::configure() {
"${SRC_DIR}/bootstrap" --prefix="${PREFIX}" ${bootstrap_flags} --verbose
}