From 0c0c0f7230984b10f9fd4b49eb786e61886ec3fd Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 11 Oct 2015 14:13:00 -0400 Subject: [PATCH] add opencascade --- deal.II/packages/opencascade.package | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 deal.II/packages/opencascade.package 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}/ +} -- 2.39.5