homebrew-core/Formula/tbb.rb
Huahang Liu e413f97c64 TBB 3.0 update 6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-15 16:46:16 -07:00

19 lines
622 B
Ruby

require 'formula'
class Tbb < Formula
url 'http://threadingbuildingblocks.org/uploads/78/166/3.0%20update%206/tbb30_174oss_src.tgz'
version '30_174'
homepage 'http://www.threadingbuildingblocks.org/'
sha1 'b68764d0d9d2517c60fd88c71a3554d194733b03'
def install
# Override build prefix so we can copy the dylibs out of the same place
# no matter what system we're on
args = ['tbb_build_prefix=BUILDPREFIX']
args << (MacOS.prefer_64_bit? ? "arch=intel64" : "arch=ia32")
system "make", *args
lib.install Dir['build/BUILDPREFIX_release/*.dylib']
include.install 'include/tbb'
end
end