homebrew-core/Formula/treecc.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

17 lines
403 B
Ruby

require 'formula'
class Treecc < Formula
homepage 'http://gnu.org/software/dotgnu/treecc/treecc.html'
url 'http://download.savannah.gnu.org/releases/dotgnu-pnet/treecc-0.3.10.tar.gz'
sha1 'f905cb535559b0e2d04fa86da14de240f5b1e44f'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
bin.install "treecc"
end
test do
system "#{bin}/treecc", "-v"
end
end