diff --git a/Formula/tbb.rb b/Formula/tbb.rb new file mode 100644 index 0000000000..795afa89bb --- /dev/null +++ b/Formula/tbb.rb @@ -0,0 +1,24 @@ +require 'formula' + +class Tbb = 10.6 and Hardware.is_64_bit? + args << "arch=intel64" + else + args << "arch=ia32" + end + + system "make", *args + lib.install Dir['build/BUILDPREFIX_release/*.dylib'] + include.install 'include/tbb' + end +end