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

This commit is contained in:
2018-07-11 10:44:26 +02:00
parent b674162f07
commit 0f6f00e751
13 changed files with 31 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ pbuild::configure() {
export LDFLAGS="-L${OPENSSL_LIBRARY_DIR}"
export CPPFLAGS="-fPIC -I${OPENSSL_INCLUDE_DIR} -I${OPENSSL_INCLUDE_DIR}/openssl"
export LD_LIBRARY_PATH+=":${PREFIX}/lib"
"${MODULE_SRCDIR}"/configure \
"${SRC_DIR}"/configure \
--prefix="${PREFIX}" \
--enable-shared \
|| exit 1
@@ -22,7 +22,7 @@ pbuild::post_install() {
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python"
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}"
PATH+=":${PREFIX}/bin"
cd "${BUILD_BLOCK_DIR}"
cd "${BUILDBLOCK_DIR}"
"${PREFIX}/bin/python" 'get-pip.py'
pip${V_MAJOR} install numpy
pip${V_MAJOR} install scipy