]> https://gitweb.dealii.org/ - candi.git/commitdiff
opencascade: minor work on the package file
authorUwe Köcher <koecher@hsu-hamburg.de>
Mon, 2 Nov 2015 20:38:16 +0000 (21:38 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Mon, 2 Nov 2015 20:38:16 +0000 (21:38 +0100)
deal.II-toolchain/packages/opencascade.package

index 30ae6415c907d3baf940bab7fe41ce550501e76c..45f8c257a0265618435a8f4976315b3b9c4efad3 100644 (file)
@@ -1,28 +1,27 @@
 # CANDI_OPENCASCADE_FROM_GIT=1
 
-if [ -n "$CANDI_OPENCASCADE_FROM_GIT" ]
-then
-
-  # current dev snapshot from git (big repo)
-
-  #VERSION=master
-  VERSION=OCE-0.17
-  NAME=oce.git
-  EXTRACTSTO=oce
-  SOURCE=https://github.com/tpaviot/
-  PACKING=git
-
+if [ -n "$CANDI_OPENCASCADE_FROM_GIT" ]; then
+    # current dev snapshot from git (big repo)
+    VERSION=OCE-0.17
+    #VERSION=master
+    NAME=oce.git
+    
+    if [ ${VERSION} = "master" ]; then
+        EXTRACTSTO=OCE-master
+    else
+        EXTRACTSTO=${VERSION}
+    fi
+    
+    SOURCE=https://github.com/tpaviot/
+    PACKING=git
 else
-
-  # download release tarball
-
-  VERSION=OCE-0.17
-  NAME=oce-$VERSION
-  PACKING=.tar.gz
-  SOURCE=https://github.com/tjhei/oce/releases/download/$VERSION/
-  DOWNLOADER=wget
-  CHECKSUM=f1a89395c4b0d199bea3db62b85f818d
-
+    # download release tarball
+    
+    VERSION=0.17
+    NAME=OCE-${VERSION}
+    PACKING=.tar.gz
+    SOURCE=https://github.com/tjhei/oce/releases/download/OCE-${VERSION}/
+    CHECKSUM=f1a89395c4b0d199bea3db62b85f818d
 fi
 
 BUILDCHAIN=cmake

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.