2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
class Boost <Formula
|
|
|
|
@homepage='http://www.boost.org'
|
2009-08-29 13:15:22 +00:00
|
|
|
@url='http://downloads.sourceforge.net/project/boost/boost/1.40.0/boost_1_40_0.tar.bz2'
|
|
|
|
@md5='ec3875caeac8c52c7c129802a8483bd7'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# we specify libdir too because the script is apparently broken
|
|
|
|
system "./bootstrap.sh --prefix='#{prefix}' --libdir='#{lib}'"
|
2009-09-08 08:37:00 +00:00
|
|
|
system "./bjam --layout=tagged --prefix='#{prefix}' --libdir='#{lib}' threading=multi install"
|
2009-06-04 18:21:19 +00:00
|
|
|
end
|
|
|
|
end
|