From f84263355cd59d9bb995952e6d0d7bffb4fa2cb0 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Sun, 28 Oct 2012 09:42:33 -0700 Subject: teapot 2.3.0 - Upgrade to 2.3.0 - Switch to cmake because it's the only build system now. - Add a dep on cmake. - Add `-DENABLE_HELP=OFF` so it doesn't require latex. - It still installs some man pages. - It has an fltk option that doesn't work due to HB fltk issues. - Works with superenv on ML with XCode-4.5.1 Closes #15720. Signed-off-by: Adam Vandenberg --- Library/Formula/teapot.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/teapot.rb b/Library/Formula/teapot.rb index c9d9ed4ec..6f95f981f 100644 --- a/Library/Formula/teapot.rb +++ b/Library/Formula/teapot.rb @@ -1,12 +1,17 @@ require 'formula' class Teapot < Formula - url 'http://www.syntax-k.de/projekte/teapot/teapot-1.09.tar.gz' homepage 'http://www.syntax-k.de/projekte/teapot/' - sha1 '5618bcc3c2e10ed6af73a0f8ee29599c7fc5967d' + url 'http://www.syntax-k.de/projekte/teapot/teapot-2.3.0.tar.gz' + sha1 'cac70c7967ba72166cdbd1806b674cd8299399e7' + + depends_on 'cmake' => :build def install - system "make" - bin.install 'teapot' + args = std_cmake_args + ['-DENABLE_HELP=OFF', '..'] + mkdir 'macbuild' do + system 'cmake', *args + system 'make install' + end end end -- cgit v1.2.3