From e3af80d3939739b755b351fd77f91374e9994874 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 26 Jan 2021 11:29:30 -0500 Subject: [PATCH] add muparser as separate package --- deal.II-toolchain/packages/muparser.package | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 deal.II-toolchain/packages/muparser.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 +} -- 2.39.5