diff options
| author | Dominyk Tiller | 2014-09-12 22:31:41 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-14 08:24:47 +0100 |
| commit | 464418c588ba0ca4506f2ca4b92073c17b16e359 (patch) | |
| tree | 4e2f587d50cbdf268b9352ed4c8252750ca25517 /Library/Formula | |
| parent | 1243c9d339801a135bff1d6ad7da3d0c61b5f87c (diff) | |
| download | homebrew-464418c588ba0ca4506f2ca4b92073c17b16e359.tar.bz2 | |
cmake 3.0.2
Also: build man pages.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cmake.rb | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index 17ca2fa57..d8f19ad32 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -21,11 +21,11 @@ class NoExpatFramework < Requirement end class Cmake < Formula - homepage 'http://www.cmake.org/' - url 'http://www.cmake.org/files/v3.0/cmake-3.0.1.tar.gz' - sha1 'b7e4acaa7fc7adf54c1b465c712e5ea473b8b74f' + homepage "http://www.cmake.org/" + url "http://www.cmake.org/files/v3.0/cmake-3.0.2.tar.gz" + sha1 "379472e3578902a1d6f8b68a9987773151d6f21a" - head 'http://cmake.org/cmake.git' + head "http://cmake.org/cmake.git" bottle do cellar :any @@ -34,13 +34,27 @@ class Cmake < Formula sha1 "dba7684d1d65423df75fd28f459525eb08590232" => :lion end + depends_on :python => :build if MacOS.version <= :snow_leopard + + resource "sphinx" do + url "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.3.tar.gz" + sha1 "3a11f130c63b057532ca37fe49c8967d0cbae1d5" + end + depends_on NoExpatFramework def install + resource("sphinx").stage do + ENV.prepend_create_path "PYTHONPATH", buildpath+"sphinx/lib/python2.7/site-packages" + system "python", "setup.py", "install", "--prefix=#{buildpath}/sphinx" + end + ENV.prepend_path "PATH", "#{buildpath}/sphinx/bin" + args = %W[ --prefix=#{prefix} --system-libs --no-system-libarchive + --sphinx-man --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man |
