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"