summaryrefslogtreecommitdiff
path: root/homebrew/opencascade/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/opencascade/.beer')
-rw-r--r--homebrew/opencascade/.beer56
1 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/opencascade/.beer b/homebrew/opencascade/.beer
new file mode 100644
index 000000000..1c0837f4d
--- /dev/null
+++ b/homebrew/opencascade/.beer
@@ -0,0 +1,56 @@
+{
+ "name": "Opencascade",
+ "description": "3D modeling and numerical simulation software for CAD/CAM/CAE",
+ "url": "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_3_0;sf=tgz",
+ "mirror": null,
+ "homepage": "https://www.opencascade.com/content/overview",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "doxygen",
+ "build-depend": true
+ },
+ {
+ "depend": "freeimage",
+ "build-depend": false
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "gl2ps",
+ "build-depend": false
+ },
+ {
+ "depend": "tbb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\",",
+ "\"-DUSE_FREEIMAGE=ON\",",
+ "\"-DUSE_GL2PS=ON\",",
+ "\"-DUSE_TBB=ON\",",
+ "\"-DINSTALL_DOC_Overview=ON\",",
+ "\"-D3RDPARTY_FREEIMAGE_DIR=#{Formula[\"freeimage\"].opt_prefix}\",",
+ "\"-D3RDPARTY_FREETYPE_DIR=#{Formula[\"freetype\"].opt_prefix}\",",
+ "\"-D3RDPARTY_GL2PS_DIR=#{Formula[\"gl2ps\"].opt_prefix}\",",
+ "\"-D3RDPARTY_TBB_DIR=#{Formula[\"tbb\"].opt_prefix}\",",
+ "\"-D3RDPARTY_TCL_DIR:PATH=#{MacOS.sdk_path_if_needed}/usr\",",
+ "\"-D3RDPARTY_TCL_INCLUDE_DIR=#{MacOS.sdk_path_if_needed}/usr/include\",",
+ "\"-D3RDPARTY_TK_INCLUDE_DIR=#{MacOS.sdk_path_if_needed}/usr/include\",",
+ "*std_cmake_args",
+ "system \"make\", \"install\"",
+ "bin.env_script_all_files(libexec/\"bin\", :CASROOT => prefix)",
+ "prefix.install_symlink pkgshare/\"resources\" => \"src\""
+ ],
+ "version": "7_3_0",
+ "file": "opencascade.rb"
+} \ No newline at end of file