aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/boost.rb
diff options
context:
space:
mode:
authorMax Howell2009-06-04 19:21:19 +0100
committerMax Howell2009-06-04 19:36:58 +0100
commite91aeafc82edb2b79af67e342009cd019cd1ede5 (patch)
tree2c12888da095f544f650787ad447aa2edb94d8c1 /Library/Formula/boost.rb
parent84ad47bc3c8029847e5c41ab4646a6b9455b370a (diff)
downloadhomebrew-e91aeafc82edb2b79af67e342009cd019cd1ede5.tar.bz2
Created /Library moved brew tool to /bin
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.
Diffstat (limited to 'Library/Formula/boost.rb')
-rw-r--r--Library/Formula/boost.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb
new file mode 100644
index 000000000..2022ef952
--- /dev/null
+++ b/Library/Formula/boost.rb
@@ -0,0 +1,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 \ No newline at end of file