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,16 +1,11 @@
#!/usr/bin/env modbuild
SOURCE_URL="http://amas.web.psi.ch/Downloads/$P/$P-$V.tar.bz2"
pbuild::set_download_url "http://amas.web.psi.ch/Downloads/$P/$P-$V.tar.bz2"
pbuild::post_prep() {
./autogen.sh
}
pbuild::configure() {
"${SRC_DIR}"/configure \
--prefix="${PREFIX}"
}
pbuild::post_install() {
# Unfortunatelly we need some fancy post-installation.
# Otherwise it wouldn't be possible to load the modules