diff options
| author | Adam Vandenberg | 2012-08-09 21:39:38 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-09 21:39:45 -0700 |
| commit | caae81d9cbda9c3b0aea2428553f8fedd2ba2cf1 (patch) | |
| tree | bb6d62556b7d3ff5115bcfbc21e2bfa5ba625eaf /Library | |
| parent | 55fb38b6c409e59a7101595ac05eab001ab2693f (diff) | |
| download | homebrew-caae81d9cbda9c3b0aea2428553f8fedd2ba2cf1.tar.bz2 | |
xz: use options dsl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/xz.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/xz.rb b/Library/Formula/xz.rb index 53f14a8dc..0cff0057d 100644 --- a/Library/Formula/xz.rb +++ b/Library/Formula/xz.rb @@ -5,12 +5,10 @@ class Xz < Formula url 'http://tukaani.org/xz/xz-5.0.4.tar.bz2' sha256 '5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92' - def options - [["--universal", "Build a universal binary."]] - end + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
