diff options
| author | Adam Vandenberg | 2012-07-30 13:16:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-08 22:01:39 -0700 |
| commit | dbd7abac811e351aacc5b45a17643e85b822246c (patch) | |
| tree | 5319a572f8e25acb2194afb7c7e1d3ff995307ad /Library | |
| parent | bccb399b4917ddd10df95cff500dcd289da948ad (diff) | |
| download | homebrew-dbd7abac811e351aacc5b45a17643e85b822246c.tar.bz2 | |
atk: use options dsl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/atk.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/atk.rb b/Library/Formula/atk.rb index eb4d0ddad..f0b9e1dba 100644 --- a/Library/Formula/atk.rb +++ b/Library/Formula/atk.rb @@ -8,12 +8,10 @@ class Atk < Formula depends_on 'pkg-config' => :build depends_on 'glib' - def options - [["--universal", "Builds a universal binary"]] - end + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-introspection=no" |
