]> https://gitweb.dealii.org/ - candi.git/commitdiff
add muparser as separate package 165/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 26 Jan 2021 16:29:30 +0000 (11:29 -0500)
committerTimo Heister <timo.heister@gmail.com>
Tue, 26 Jan 2021 16:29:30 +0000 (11:29 -0500)
deal.II-toolchain/packages/muparser.package [new file with mode: 0644]

diff --git a/deal.II-toolchain/packages/muparser.package b/deal.II-toolchain/packages/muparser.package
new file mode 100644 (file)
index 0000000..0ce55d2
--- /dev/null
@@ -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
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.