From: Timo Heister Date: Tue, 26 Jan 2021 16:29:30 +0000 (-0500) Subject: add muparser as separate package X-Git-Tag: v9.3.0-r3~29^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F165%2Fhead;p=candi.git add muparser as separate package --- diff --git a/deal.II-toolchain/packages/muparser.package b/deal.II-toolchain/packages/muparser.package new file mode 100644 index 0000000..0ce55d2 --- /dev/null +++ b/deal.II-toolchain/packages/muparser.package @@ -0,0 +1,27 @@ +VERSION=2.2.6.1 +CHECKSUM=410d29b4c58d1cdc2fc9ed1c1c7f67fe + +NAME=v${VERSION} +PACKING=.tar.gz +SOURCE=https://github.com/beltoforion/muparser/archive/ +EXTRACTSTO=muparser-${VERSION} + +BUILDCHAIN=cmake +BUILDDIR=${BUILD_PATH}/${EXTRACTSTO} +INSTALL_PATH=${INSTALL_PATH}/${EXTRACTSTO} +CONFOPTS="-D ENABLE_SAMPLES=OFF -D ENABLE_OPENMP=OFF" + +package_specific_register () { + export MUPARSER_DIR=${INSTALL_PATH} + export MUPARSER_INCLUDE_DIR=${INSTALL_PATH}/include +} + +package_specific_conf () { + # Generate configuration file + CONFIG_FILE=${CONFIGURATION_PATH}/${NAME} + rm -f $CONFIG_FILE + echo " +export MUPARSER_DIR=${INSTALL_PATH} +export MUPARSER_INCLUDE_DIR=${INSTALL_PATH}/include +" >> $CONFIG_FILE +}