From: Timo Heister Date: Sun, 11 Oct 2015 18:13:00 +0000 (-0400) Subject: add opencascade X-Git-Tag: v0.7~14^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c0c0f7230984b10f9fd4b49eb786e61886ec3fd;p=candi.git add opencascade --- diff --git a/deal.II/packages/opencascade.package b/deal.II/packages/opencascade.package new file mode 100644 index 0000000..bd90ca5 --- /dev/null +++ b/deal.II/packages/opencascade.package @@ -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}/ +}