aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-19 20:21:14 -0500
committerJack Nagel2014-03-19 20:43:53 -0500
commitdba92f4848a060aa1bbc41975f5e181174189736 (patch)
treef39e1d15a98d0d8b0872275387d8167a0f185a36 /Library/Formula
parentb5b1cad751aff72284addcd0299a925283e9a90f (diff)
downloadhomebrew-dba92f4848a060aa1bbc41975f5e181174189736.tar.bz2
minizip: use patch DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/minizip.rb16
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?