diff options
| author | Jack Nagel | 2014-03-19 20:21:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-19 20:43:53 -0500 |
| commit | dba92f4848a060aa1bbc41975f5e181174189736 (patch) | |
| tree | f39e1d15a98d0d8b0872275387d8167a0f185a36 /Library/Formula | |
| parent | b5b1cad751aff72284addcd0299a925283e9a90f (diff) | |
| download | homebrew-dba92f4848a060aa1bbc41975f5e181174189736.tar.bz2 | |
minizip: use patch DSL
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/minizip.rb | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Library/Formula/minizip.rb b/Library/Formula/minizip.rb index 5420e9341..fb57d263a 100644 --- a/Library/Formula/minizip.rb +++ b/Library/Formula/minizip.rb @@ -4,9 +4,7 @@ class Minizip < Formula homepage 'http://www.winimage.com/zLibDll/minizip.html' url 'http://zlib.net/zlib-1.2.8.tar.gz' sha1 'a4d316c404ff54ca545ea71a27af7dbc29817088' - - # version for minizip, not zlib - version '1.1' + version '1.1' # version for minizip, not zlib option :universal @@ -14,13 +12,11 @@ class Minizip < Formula depends_on 'automake' => :build depends_on 'libtool' => :build - def patches - # configure script fails to detect the right compiler when "cc" is - # clang, not gcc. - # see: https://github.com/Homebrew/homebrew-dupes/pull/228 - # https://github.com/madler/zlib/pull/54 - DATA - end + # configure script fails to detect the right compiler when "cc" is + # clang, not gcc. + # see: https://github.com/Homebrew/homebrew-dupes/pull/228 + # https://github.com/madler/zlib/pull/54 + patch :DATA def install ENV.universal_binary if build.universal? |
