Skip to content

Commit

Permalink
neon: use options DSL
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel committed Aug 12, 2012
1 parent 0c18b97 commit 722a786
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Library/Formula/neon.rb
Expand Up @@ -10,12 +10,10 @@ class Neon < Formula
keg_only :provided_by_osx, keg_only :provided_by_osx,
"Compiling newer versions of Subversion on 10.6 require this newer neon." "Compiling newer versions of Subversion on 10.6 require this newer neon."


def options option :universal
[['--universal', 'Builds a universal binary.']]
end


def install def install
ENV.universal_binary if ARGV.build_universal? ENV.universal_binary if build.universal?


system "./configure", "--prefix=#{prefix}", system "./configure", "--prefix=#{prefix}",
"--disable-debug", "--disable-debug",
Expand Down

0 comments on commit 722a786

Please sign in to comment.