aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/treecc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/treecc.rb')
-rw-r--r--Library/Formula/treecc.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/treecc.rb b/Library/Formula/treecc.rb
new file mode 100644
index 000000000..50edd6b2d
--- /dev/null
+++ b/Library/Formula/treecc.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Treecc < Formula
+ url 'http://download.savannah.gnu.org/releases/dotgnu-pnet/treecc-0.3.10.tar.gz'
+ homepage 'http://gnu.org/software/dotgnu/treecc/treecc.html'
+ md5 'def09f2132f87d6a38a0718e2f14ee61'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ bin.install "treecc"
+ end
+
+ def test
+ system "#{bin}/treecc -v"
+ end
+end