diff options
Diffstat (limited to 'homebrew/opensubdiv/.make.sh-auto')
-rw-r--r-- | homebrew/opensubdiv/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/opensubdiv/.make.sh-auto b/homebrew/opensubdiv/.make.sh-auto new file mode 100644 index 000000000..35fcf59c2 --- /dev/null +++ b/homebrew/opensubdiv/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +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" && cd build +cmake .. *args +make +make DESTDIR=${PKG_DEST} install +pkgshare.install bin/"tutorials/hbr_tutorial_0" +rm_rf "#{bin}/tutorials" |