]> https://gitweb.dealii.org/ - candi.git/commitdiff
Indentation
authorFabian Castelli <fabian.castelli@kit.edu>
Wed, 16 Feb 2022 21:07:42 +0000 (22:07 +0100)
committerFabian Castelli <fabian.castelli@kit.edu>
Wed, 16 Feb 2022 21:07:42 +0000 (22:07 +0100)
deal.II-toolchain/packages/symengine.package

index 9be8309f0b0bb147f90eb513477a4e251a674d1b..bc672870438486c5ef8604a71aec8f04a73aa9c3 100644 (file)
@@ -5,26 +5,26 @@
 # By default load the tarball.
 # To load the git repository define a variable CANDI_SYMENGINE_LOAD_TARBALL=OFF.
 if [ -z ${CANDI_SYMENGINE_LOAD_TARBALL} ]; then
-    CANDI_SYMENGINE_LOAD_TARBALL=ON
+  CANDI_SYMENGINE_LOAD_TARBALL=ON
 fi
 
 if [ ${CANDI_SYMENGINE_LOAD_TARBALL} = ON ]; then
-    # download release tarball
-    VERSION=0.7.0
-    CHECKSUM=72b8f1442fd3084c96e59d9fe87eec1a
-
-    NAME=symengine-${VERSION}
-    SOURCE=https://github.com/symengine/symengine/releases/download/v${VERSION}/
-    EXTRACTSTO=${NAME}
-    PACKING=.tar.gz
+  # download release tarball
+  VERSION=0.7.0
+  CHECKSUM=72b8f1442fd3084c96e59d9fe87eec1a
+
+  NAME=symengine-${VERSION}
+  SOURCE=https://github.com/symengine/symengine/releases/download/v${VERSION}/
+  EXTRACTSTO=${NAME}
+  PACKING=.tar.gz
 else
-    # download git repository
-    VERSION=v0.7.0
+  # download git repository
+  VERSION=v0.7.0
 
-    NAME=symengine.git
-    SOURCE=https://github.com/symengine/
-    EXTRACTSTO=symengine-${VERSION}
-    PACKING=git
+  NAME=symengine.git
+  SOURCE=https://github.com/symengine/
+  EXTRACTSTO=symengine-${VERSION}
+  PACKING=git
 fi
 unset CANDI_SYMENGINE_LOAD_TARBALL
 
@@ -38,15 +38,15 @@ CONFOPTS="\
   -D BUILD_TESTS:BOOL=OFF \
   -D BUILD_BENCHMARKS:BOOL=OFF"
 
-package_specific_register () {
-    export SYMENGINE_DIR=${INSTALL_PATH}
+package_specific_register() {
+  export SYMENGINE_DIR=${INSTALL_PATH}
 }
 
-package_specific_conf () {
-    # Generate configuration file
-    CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
-    rm -f ${CONFIG_FILE}
-    echo "
+package_specific_conf() {
+  # Generate configuration file
+  CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
+  rm -f ${CONFIG_FILE}
+  echo "
 export SYMENGINE_DIR=${INSTALL_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.