diff --git a/recipes/OpenCASCADE/build.sh b/recipes/OpenCASCADE/build.sh new file mode 100644 index 0000000000000..9d5eda6c0184d --- /dev/null +++ b/recipes/OpenCASCADE/build.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# see http://conda.pydata.org/docs/build.html for hacking instructions. + +# unpack. +mkdir build +cd build + +# build. +cmake \ + -DCMAKE_INSTALL_PREFIX=$PREFIX \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_MODULE_Draw=0 \ + -DBUILD_MODULE_Visualization=0 \ + -DBUILD_MODULE_ApplicationFramework=0 \ + .. | tee cmake.log 2>&1 + +make -j${CPU_COUNT} | tee make.log 2>&1 +make install | tee install.log 2>&1 + +# vim: set ai et nu: diff --git a/recipes/OpenCASCADE/meta.yaml b/recipes/OpenCASCADE/meta.yaml new file mode 100644 index 0000000000000..651488bcfcc02 --- /dev/null +++ b/recipes/OpenCASCADE/meta.yaml @@ -0,0 +1,42 @@ +{% set name = "OpenCASCADE" %} +{% set version = "7.2.0" %} +{% set md5 = "34fd3038227c29c81161cf2fd76892c3" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + fn: occt.tgz + url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_2_0;sf=tgz + md5: {{ md5 }} + +build: + number: 0 + +requirements: + build: + - cmake + - freetype + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - {{ compiler('fortran') }} + +test: + commands: + # pass + +about: + home: https://www.opencascade.com + license: LGPL + license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt' + summary: An object-oriented C++ class library for CAD/CAM/CAE applications + description: | + Open CASCADE Technology (OCCT) is an object-oriented C++ class library + designed for rapid production of sophisticated domain-specific + CAD/CAM/CAE applications. + +extra: + recipe-maintainers: + - guyer +