summaryrefslogtreecommitdiffstats
path: root/science-libs
diff options
context:
space:
mode:
authorFlorian Franzmann2016-08-22 20:06:47 +0200
committerFlorian Franzmann2016-09-06 18:11:38 +0200
commit525af441f3b9f9e0ace512e72c87280bd311b07b (patch)
treebe24629c082abb05d10cd3e998e2258fe1fc72a4 /science-libs
parentd45deae4dc84c95d72bd07900803a96b8559715f (diff)
science-libs/opencascade: new spell, a library for 3D surface and solide modelling
Diffstat (limited to 'science-libs')
-rwxr-xr-xscience-libs/opencascade/BUILD2
-rwxr-xr-xscience-libs/opencascade/DEPENDS25
-rwxr-xr-xscience-libs/opencascade/DETAILS17
-rw-r--r--science-libs/opencascade/HISTORY3
4 files changed, 47 insertions, 0 deletions
diff --git a/science-libs/opencascade/BUILD b/science-libs/opencascade/BUILD
new file mode 100755
index 0000000000..f5c92c2da5
--- /dev/null
+++ b/science-libs/opencascade/BUILD
@@ -0,0 +1,2 @@
+OPTS+=" -DUSE_FREEIMAGE=off -DUSE_VTK=off" &&
+cmake_build
diff --git a/science-libs/opencascade/DEPENDS b/science-libs/opencascade/DEPENDS
new file mode 100755
index 0000000000..8b77e50004
--- /dev/null
+++ b/science-libs/opencascade/DEPENDS
@@ -0,0 +1,25 @@
+depends tcl &&
+depends tk &&
+depends freetype2 &&
+depends ftgl &&
+depends glu &&
+depends OPENGL &&
+depends libxmu &&
+depends itcl &&
+depends itk &&
+#optional_depends freeimage \
+# "-DUSE_FREEIMAGE=on" \
+# "-DUSE_FREEIMAGE=off" \
+# "for support for various image formats" &&
+optional_depends gl2ps \
+ "-DUSE_GL2PS=on" \
+ "-DUSE_GL2PS=off" \
+ "for printing support" &&
+optional_depends tbb \
+ "-DUSE_TBB=on" \
+ "-DUSE_TBB=off" \
+ "for multithreading"
+#optional_depends vtk \
+# "-DUSE_VTK=on -D3RDPARTY_VTK_INCLUDE_DIR=${TRACK_ROOT}/opt/qt5/include/vtk-7.0 -D3RDPARTY_VTK_LIBRARY_DIR=${TRACK_ROOT}/opt/qt5/lib" \
+# "-DUSE_VTK=off" \
+# "for visualization support"
diff --git a/science-libs/opencascade/DETAILS b/science-libs/opencascade/DETAILS
new file mode 100755
index 0000000000..22d7f19967
--- /dev/null
+++ b/science-libs/opencascade/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=opencascade
+ VERSION=7.0.0
+ SOURCE="${SPELL}-${VERSION}.tgz"
+ SOURCE_URL[0]=http://smgl.bandrate.org/${SOURCE}
+ SOURCE_HASH=sha512:0c8e1a6c4a589a28e5baef10ccff1d94ad76c9e7ac827881fc7265e6f6d44d4332820034efc1f348d67663f7f508c2edc265c5e01da062c6ca4f94b1c47c2753
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://www.opencascade.com"
+ LICENSE[0]=LGPL
+ ENTERED=20160821
+ SHORT="a software development platform providing services for 3D surface and solid modeling"
+cat << EOF
+CASCADE Technology (OCCT) is a software development platform providing services
+for 3D surface and solid modeling, CAD data exchange, and visualization. Most
+of OCCT functionality is available in the form of C++ libraries. OCCT can
+be best applied in development of software dealing with 3D modeling (CAD),
+manufacturing / measuring (CAM) or numerical simulation (CAE).
+EOF
diff --git a/science-libs/opencascade/HISTORY b/science-libs/opencascade/HISTORY
new file mode 100644
index 0000000000..b8775f56f0
--- /dev/null
+++ b/science-libs/opencascade/HISTORY
@@ -0,0 +1,3 @@
+2016-08-22 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+