]> https://gitweb.dealii.org/ - candi.git/commitdiff
add numdiff package 19/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 5 Apr 2017 22:03:09 +0000 (18:03 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 5 Apr 2017 22:03:09 +0000 (18:03 -0400)
numdiff is not installed by default and strictly speaking not a
dependency of deal.II, but it is very convenient to be able to do

    ./candi.sh --packages="numdiff"

and have it installed automatically.

deal.II-toolchain/packages/numdiff.package [new file with mode: 0644]

diff --git a/deal.II-toolchain/packages/numdiff.package b/deal.II-toolchain/packages/numdiff.package
new file mode 100644 (file)
index 0000000..37a8c92
--- /dev/null
@@ -0,0 +1,23 @@
+VERSION=5.9.0
+NAME=numdiff-${VERSION}
+SOURCE=https://download-mirror.savannah.gnu.org/releases/numdiff/
+PACKING=.tar.gz
+CHECKSUM=794461a7285d8b9b1f2c4a8149889ea6
+BUILDCHAIN=autotools
+
+CONFOPTS=""
+
+INSTALL_PATH=${INSTALL_PATH}/${NAME}/bin
+
+package_specific_register () {
+    export PATH=${INSTALL_PATH}:$PATH
+}
+
+package_specific_conf () {
+    # Generate configuration file
+    CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
+    rm -f $CONFIG_FILE
+    echo "
+export PATH=${INSTALL_PATH}:$PATH
+" >> $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.