diff options
| author | Adam Vandenberg | 2012-08-09 22:12:57 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-09 22:12:57 -0700 |
| commit | 8939844e43d1f5748a04eac404bfc95b74c33a07 (patch) | |
| tree | ab1d3c1bda12d102c9bde28c7aa14a8770b86c42 /Library | |
| parent | d88b0e29a4a1d4d33a978ae5eba63f62eb93e045 (diff) | |
| download | homebrew-8939844e43d1f5748a04eac404bfc95b74c33a07.tar.bz2 | |
lame: use options dsl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/lame.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/lame.rb b/Library/Formula/lame.rb index 25ce5020f..6f2bd96b8 100644 --- a/Library/Formula/lame.rb +++ b/Library/Formula/lame.rb @@ -5,14 +5,14 @@ class Lame < Formula url 'http://downloads.sourceforge.net/sourceforge/lame/lame-3.99.5.tar.gz' md5 '84835b313d4a8b68f5349816d33e07ce' - 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", "--prefix=#{prefix}", "--enable-nasm" + system "./configure", "--disable-debug", + "--prefix=#{prefix}", + "--enable-nasm" system "make install" end end |
