diff options
Diffstat (limited to 'homebrew/opensubdiv/.beer')
-rw-r--r-- | homebrew/opensubdiv/.beer | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/opensubdiv/.beer b/homebrew/opensubdiv/.beer new file mode 100644 index 000000000..f30117bee --- /dev/null +++ b/homebrew/opensubdiv/.beer @@ -0,0 +1,42 @@ +{ + "name": "Opensubdiv", + "description": "Open-source subdivision surface library", + "url": "https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_3_3.tar.gz", + "mirror": null, + "homepage": "https://graphics.pixar.com/opensubdiv/docs/intro.html", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "glfw", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "glfw = Formula[\"glfw\"]", + "args = std_cmake_args + %W[", + "-DNO_CLEW=1", + "-DNO_CUDA=1", + "-DNO_DOC=1", + "-DNO_EXAMPLES=1", + "-DNO_OMP=1", + "-DNO_OPENCL=1", + "-DNO_PTEX=1", + "-DNO_TBB=1", + "-DGLFW_LOCATION=#{glfw.opt_prefix}", + "]", + "mkdir \"build\" do", + "system \"cmake\", \"..\", *args", + "system \"make\"", + "system \"make\", \"install\"", + "pkgshare.install bin/\"tutorials/hbr_tutorial_0\"", + "rm_rf \"#{bin}/tutorials\"" + ], + "version": "3_3_3", + "file": "opensubdiv.rb" +}
\ No newline at end of file |