homebrew-core/Formula/boost-build.rb
Jack Nagel f9cb788fc9 boost-build: use boost 1.49 tarball
Technically the boost-build version is the same.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25 13:35:09 -06:00

22 lines
598 B
Ruby

require 'formula'
class BoostBuild < Formula
homepage 'http://boost.org/boost-build2/'
url 'http://downloads.sourceforge.net/project/boost/boost/1.49.0/boost_1_49_0.tar.bz2'
md5 '0d202cb811f934282dea64856a175698'
version '2011.04-svn'
head 'http://svn.boost.org/svn/boost/trunk/tools/build/v2/', :using => :svn
def install
if ARGV.build_head?
system "./bootstrap.sh"
system "./b2", "--prefix=#{prefix}", "install"
else
cd 'tools/build/v2' do
system "./bootstrap.sh"
system "./b2", "--prefix=#{prefix}", "install"
end
end
end
end