blob: 2022ef952ca7e6a9514ca56729482b338e73532b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require 'brewkit'
class Boost <Formula
@homepage='http://www.boost.org'
@url='http://kent.dl.sourceforge.net/sourceforge/boost/boost_1_39_0.tar.bz2'
@md5='a17281fd88c48e0d866e1a12deecbcc0'
def install
#TODO we can save 6300 links if we just had the intelligence to symlink
#the include/boost dir and not more
# we specify libdir too because the script is apparently broken
system "./bootstrap.sh --prefix='#{prefix}' --libdir='#{lib}'"
system "./bjam --layout=system --prefix='#{prefix}' --libdir='#{lib}' install"
end
end
|