homebrew-core/Formula/boost.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

13 lines
No EOL
465 B
Ruby

require 'formula'
class Boost <Formula
@homepage='http://www.boost.org'
@url='http://downloads.sourceforge.net/project/boost/boost/1.40.0/boost_1_40_0.tar.bz2'
@md5='ec3875caeac8c52c7c129802a8483bd7'
def install
# we specify libdir too because the script is apparently broken
system "./bootstrap.sh --prefix='#{prefix}' --libdir='#{lib}'"
system "./bjam --layout=tagged --prefix='#{prefix}' --libdir='#{lib}' threading=multi install"
end
end