refactor variable names according to changes in Pmodules/0.99.15 in build-scripts of group 'MPI'

This commit is contained in:
2018-07-11 10:49:42 +02:00
parent 8c5d93f59b
commit d1b712b976
12 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ pbuild::configure() {
die 3 "Oops: unknown compiler: ${COMPILER}"
;;
esac
cat <<EOF > "${MODULE_SRCDIR}/make.inc"
cat <<EOF > "${SRC_DIR}/make.inc"
PLAT =
DSuperLUroot = \${PREFIX}
DSUPERLULIB = \$(DSuperLUroot)/lib/libsuperlu_dist.a
@@ -37,7 +37,7 @@ EOF
}
pbuild::build() {
cd "${MODULE_SRCDIR}"
cd "${SRC_DIR}"
mkdir -p "${PREFIX}/lib"
make
}
@@ -45,7 +45,7 @@ pbuild::build() {
pbuild::install() {
make install
mkdir -p "${PREFIX}/include"
install -m 0444 "${MODULE_SRCDIR}"/SRC/*.h "${PREFIX}/include"
install -m 0444 "${SRC_DIR}"/SRC/*.h "${PREFIX}/include"
}