aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKieran Pilkington2009-10-13 14:50:41 +1300
committerMax Howell2009-10-19 04:02:49 +0100
commitdf74e86292a005c820b56624a9a1d7222841e346 (patch)
tree52de2697517e8b7507998bced5d35ba5e14bab72 /Library/Formula
parent035301fdbcc570bb9021d6a5d38ecd01ba2ce7cd (diff)
downloadhomebrew-df74e86292a005c820b56624a9a1d7222841e346.tar.bz2
Add Scons formula
Signed-off-by: Max Howell <max@methylblue.com> Scons is now an example of a system that we do duplicated even though easy_install supports it. This is because: 1) Easy Install installs a version that is not current; 2) We may need to directly depend on this formula to build other formula.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/scons.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/scons.rb b/Library/Formula/scons.rb
new file mode 100644
index 000000000..7dc8b7f64
--- /dev/null
+++ b/Library/Formula/scons.rb
@@ -0,0 +1,11 @@
+require 'formula'
+
+class Scons <Formula
+ url 'http://prdownloads.sourceforge.net/scons/scons-1.2.0.d20090919.tar.gz'
+ homepage 'http://www.scons.org'
+ md5 'd95c3749438e51db592b854683083965'
+
+ def install
+ system "python", "setup.py", "install", "--prefix=#{prefix}"
+ end
+end