97b1ada08d
Moved Forumla and Cellar/homebrew into Library. This way the homebrew core files are more sensibly placed, Cellar is more internally consistent and only generated. And Homebrew is ready for use straight out of the tarball.
16 lines
No EOL
555 B
Ruby
16 lines
No EOL
555 B
Ruby
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 |