aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-10-28 09:42:33 -0700
committerAdam Vandenberg2012-10-28 12:33:30 -0700
commitf84263355cd59d9bb995952e6d0d7bffb4fa2cb0 (patch)
tree8e6b3fabd334f975f2732367a9389dbe26133062 /Library/Formula
parent1f1dd03994615eb1c96a1d2089a39cbd10ed7608 (diff)
downloadhomebrew-f84263355cd59d9bb995952e6d0d7bffb4fa2cb0.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/teapot.rb13
1 files changed, 9 insertions, 4 deletions
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