2012-02-16 19:39:45 +00:00
|
|
|
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
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/treecc", "-v"
|
2012-02-16 19:39:45 +00:00
|
|
|
end
|
|
|
|
end
|