diff options
| author | samueljohn | 2012-06-19 17:09:35 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-22 06:16:10 -0700 |
| commit | f59ffc63bbbda9ebe4c25348e64aa81a6bd101a6 (patch) | |
| tree | 0cbc68ffb507a1f5942e00076e84cd2d3b4c44ae /Library/Formula | |
| parent | f4a9f3d4dac56e46eab05952b58169d7bd40a664 (diff) | |
| download | homebrew-f59ffc63bbbda9ebe4c25348e64aa81a6bd101a6.tar.bz2 | |
zint: Remove redundnat flags.
- the std_cmake_args already include the prefix.
- The CMAKE_C_FLAGS are no longer needed for cmake >= 2.8.8
- Update to options DSL.
Closes #12921.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/zint.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/zint.rb b/Library/Formula/zint.rb index 9837132fb..17a463064 100644 --- a/Library/Formula/zint.rb +++ b/Library/Formula/zint.rb @@ -3,19 +3,19 @@ require 'formula' class Zint < Formula homepage 'http://zint.github.com/' url 'https://github.com/downloads/zint/zint/zint-2.4.3.tar.gz' - md5 '2b47caff88cb746f212d6a0497185358' + sha1 '300732d03c77ccf1031c485a20f09b51495ef5a3' head 'git://zint.git.sourceforge.net/gitroot/zint/zint' + option 'qt', 'Build the zint-qt GUI.' + depends_on 'cmake' => :build depends_on :x11 + depends_on 'qt' => :optional if build.include? 'qt' def install mkdir 'zint-build' do - system "cmake", "..", - "-DCMAKE_PREFIX_PATH=#{prefix}", - "-DCMAKE_C_FLAGS=-I#{MacOS::X11.include}", - *std_cmake_args + system "cmake", "..", *std_cmake_args system "make install" end end |
