From: Uwe Köcher Date: Fri, 4 May 2018 09:28:38 +0000 (+0200) Subject: cmake package: now compiles and installs again v3.9 X-Git-Tag: v9.0.0~16^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F73%2Fhead;p=candi.git cmake package: now compiles and installs again v3.9 --- 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 } +