From 65ac840735544842eef60d0a3093e36e13ae9ff1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Fri, 4 May 2018 11:28:38 +0200 Subject: [PATCH] cmake package: now compiles and installs again v3.9 --- deal.II-toolchain/packages/cmake.package | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/deal.II-toolchain/packages/cmake.package b/deal.II-toolchain/packages/cmake.package index 7d73c1d..d2f35b8 100644 --- a/deal.II-toolchain/packages/cmake.package +++ b/deal.II-toolchain/packages/cmake.package @@ -1,16 +1,15 @@ -VERSION=3.4.0-rc2-Linux-x86_64 +MAJOR=3.9 +MINOR=6 +VERSION=${MAJOR}.${MINOR} NAME=cmake-${VERSION} -SOURCE=https://cmake.org/files/v3.4/ +SOURCE=https://cmake.org/files/v${MAJOR}/ PACKING=.tar.gz -CHECKSUM=511db6fe363aa323905e1c06f7b22425 -BUILDCHAIN=ignore - -package_specific_install () { - cp -rf ${UNPACK_PATH}/${EXTRACTSTO} ${INSTALL_PATH} -} +CHECKSUM=084b1c8b2efc1c1ba432dea37243c0ae +BUILDCHAIN=cmake package_specific_register () { - export PATH=${INSTALL_PATH}/${EXTRACTSTO}/bin:${PATH} + export PATH=${INSTALL_PATH}/bin:${PATH} + export CMAKE_ROOT=${INSTALL_PATH}/share/${MAJOR} } package_specific_conf () { @@ -18,6 +17,8 @@ package_specific_conf () { CONFIG_FILE=${CONFIGURATION_PATH}/${NAME} rm -f $CONFIG_FILE echo " -export PATH=${INSTALL_PATH}/${EXTRACTSTO}/bin:\${PATH} +export PATH=${INSTALL_PATH}/bin:${PATH} +export CMAKE_ROOT=${INSTALL_PATH}/share/${MAJOR} " >> $CONFIG_FILE } + -- 2.39.5