build-scripts reviewed

This commit is contained in:
Achim Gsell
2018-10-11 23:08:23 +02:00
parent 94ab320acc
commit b74fd7bce4
45 changed files with 139 additions and 230 deletions

View File

@@ -1,19 +1,16 @@
#!/usr/bin/env modbuild
SOURCE_URL="https://cmake.org/files/v${V_MAJOR}.${V_MINOR}/$P-$V.tar.gz"
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=''
case $OS in
Darwin )
pbuild::pre_configure_Darwin() {
bootstrap_flags+='--system-curl'
;;
esac
}
pbuild::configure() {
"${SRC_DIR}/bootstrap" --prefix="${PREFIX}" ${bootstrap_flags} --verbose
}
pbuild::add_to_group 'Programming'
pbuild::make_all