Permalink
Browse files

neon: use options DSL

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent 0c18b97 commit 722a78639edcf94130192e60765c0c55124b575c @jacknagel jacknagel committed Aug 12, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 Library/Formula/neon.rb
View
@@ -10,12 +10,10 @@ class Neon < Formula
keg_only :provided_by_osx,
"Compiling newer versions of Subversion on 10.6 require this newer neon."
- 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", "--prefix=#{prefix}",
"--disable-debug",

0 comments on commit 722a786

Please sign in to comment.