6f9ebdcdf9
This formula is updated to get boost-build from the git repository. Changes to boost-build have been made but the reported version has not changed. Thus the version is also changed to match the boost one. Closes Homebrew/homebrew#26849. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
515 B
Ruby
21 lines
515 B
Ruby
require 'formula'
|
|
|
|
class BoostBuild < Formula
|
|
homepage 'http://boost.org/boost-build2/'
|
|
url 'http://github.com/boostorg/build/archive/boost-1.55.0.tar.gz'
|
|
sha1 '9daf7587b017716ffd164bcf11d82c4ac00c8ca0'
|
|
|
|
head 'https://github.com/boostorg/build.git'
|
|
|
|
def install
|
|
if build.head?
|
|
system "./bootstrap.sh"
|
|
system "./b2", "--prefix=#{prefix}", "install"
|
|
else
|
|
cd 'v2' do
|
|
system "./bootstrap.sh"
|
|
system "./b2", "--prefix=#{prefix}", "install"
|
|
end
|
|
end
|
|
end
|
|
end
|