aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/chuck.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/chuck.rb b/Library/Formula/chuck.rb
new file mode 100644
index 000000000..0139b5292
--- /dev/null
+++ b/Library/Formula/chuck.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Chuck <Formula
+ url 'http://chuck.cs.princeton.edu/release/files/chuck-1.2.1.3.tgz'
+ homepage 'http://chuck.cs.princeton.edu/'
+ md5 'ac8459b4067c2491fbdeb61d122a5985'
+
+ def install
+ system "make -C src/ osx-#{Hardware.cpu_type}"
+ bin.install "src/chuck"
+ (share+'chuck').install "examples/"
+ end
+end