refactor variable names according to changes in Pmodules/0.99.15 in build-scripts of group 'Compiler'
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
cat <<EOF > "${MODULE_SRCDIR}/make.inc"
|
||||
cat <<EOF > "${SRC_DIR}/make.inc"
|
||||
SHELL = /bin/sh
|
||||
PLAT =
|
||||
DRVOPTS = \$(OPTS)
|
||||
LOADER = \$(FORTRAN) -pthread
|
||||
ARCHFLAGS= -ru
|
||||
EOF
|
||||
cat <<EOF > "${MODULE_SRCDIR}/Makefile.rule"
|
||||
cat <<EOF > "${SRC_DIR}/Makefile.rule"
|
||||
VERSION = 0.2.9
|
||||
TARGET = CORE2
|
||||
CC = gcc
|
||||
@@ -24,7 +24,7 @@ EOF
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user