aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/boost.rb
blob: d491b5f0a4932ff8b339fe68c5f47e227282d1a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'brewkit'

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