Skip to content
Snippets Groups Projects
Commit 3821b200 authored by Max Howell's avatar Max Howell
Browse files

Boost formula

parent d40718f4
No related branches found
No related tags found
No related merge requests found
$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks
require 'brewkit'
homepage='http://www.boost.org'
url='http://kent.dl.sourceforge.net/sourceforge/boost/boost_1_39_0.tar.bz2'
md5='a17281fd88c48e0d866e1a12deecbcc0'
Formula.new(url, md5).brew do |prefix|
lib=prefix+'lib'
# we specify libdir too because the script is apparently broken
#TODO we can save 6300 links if we just had the intelligence to symlink the
# include/boost dir and not more
system "./bootstrap.sh --prefix='#{prefix}' --libdir='#{lib}'"
system "./bjam --layout=system --prefix='#{prefix}' --libdir='#{lib}' install"
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment