From 2f541f3e96b1cbaacefae8092710dbf5f42df4f4 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Wed, 6 Nov 2013 14:04:53 -0800 Subject: tcc 0.9.26 Closes #24040. Signed-off-by: Adam Vandenberg --- Library/Formula/tcc.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Library/Formula/tcc.rb (limited to 'Library/Formula') diff --git a/Library/Formula/tcc.rb b/Library/Formula/tcc.rb new file mode 100644 index 000000000..b4c17398c --- /dev/null +++ b/Library/Formula/tcc.rb @@ -0,0 +1,15 @@ +require 'formula' + +class Tcc < Formula + homepage 'http://bellard.org/tcc/' + url 'http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.26.tar.bz2' + sha1 '7110354d3637d0e05f43a006364c897248aed5d0' + + def install + ENV.j1 + system "./configure", "--prefix=#{prefix}", "--source-path=#{buildpath}" + system "make" + system "make", "install" + system "make", "test" + end +end -- cgit v1.2.3