aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/treecc.rb
diff options
context:
space:
mode:
authorSilvio Henrique Ferreira2012-02-16 17:39:45 -0200
committerAdam Vandenberg2012-04-28 14:13:56 -0700
commitb06f364cf1353bf77bfefbba329eba1f8b431074 (patch)
tree7bd38df3894bcff3a450ba3cdde5838c074d7c09 /Library/Formula/treecc.rb
parentdfb171b173e03f558aba9ef516033d75f642a2e2 (diff)
downloadhomebrew-b06f364cf1353bf77bfefbba329eba1f8b431074.tar.bz2
treecc 0.3.10
Closes #10238. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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