]> https://gitweb.dealii.org/ - candi.git/commitdiff
add opencascade
authorTimo Heister <timo.heister@gmail.com>
Sun, 11 Oct 2015 18:13:00 +0000 (14:13 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 11 Oct 2015 18:13:00 +0000 (14:13 -0400)
deal.II/packages/opencascade.package [new file with mode: 0644]

diff --git a/deal.II/packages/opencascade.package b/deal.II/packages/opencascade.package
new file mode 100644 (file)
index 0000000..bd90ca5
--- /dev/null
@@ -0,0 +1,38 @@
+# 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
+
+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
+
+fi
+
+BUILDCHAIN=cmake
+
+CONFOPTS="-D OCE_INSTALL_PREFIX=${INSTALL_PATH} \
+ -D OCE_VISUALISATION=OFF \
+ -D OCE_DATAEXCHANGE=ON \
+ -D OCE_OCAF=OFF \
+"
+
+package_specific_register () {
+    export OPENCASCADE_DIR=${INSTALL_PATH}/
+}

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.