Permalink
Browse files

libzzip: use options DSL

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent d5ced2e commit 68a475ded18c023058ecac9a8640d4ea73daec18 @jacknagel jacknagel committed Aug 12, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 Library/Formula/libzzip.rb
View
6 Library/Formula/libzzip.rb
@@ -7,12 +7,10 @@ class Libzzip < Formula
depends_on 'pkg-config' => :build
- def options
- [[ '--universal', 'Build a universal binary' ]]
- end
+ option :universal
def install
- if ARGV.build_universal?
+ if build.universal?
ENV.universal_binary
# See: https://sourceforge.net/tracker/?func=detail&aid=3511669&group_id=6389&atid=356389
ENV["ac_cv_sizeof_long"] = "(LONG_BIT/8)"

0 comments on commit 68a475d

Please sign in to comment.