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
+3 -4
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env modbuild
SOURCE_URL="http://amas.web.psi.ch/Downloads/$P/$P-$V.tar.gz"
pbuild::set_download_url "http://amas.web.psi.ch/Downloads/$P/$P-$V.tar.gz"
pbuild::add_to_group 'HDF5'
pbuild::install_docfiles 'AUTHORS' 'COPYING'
if [[ ${V_MAJOR} == 1 ]]; then
pbuild::compile_in_sourcetree
@@ -45,7 +47,4 @@ pbuild::install() {
}
pbuild::add_to_group 'HDF5'
pbuild::install_docfiles 'AUTHORS' 'COPYING'
pbuild::make_all