homebrew-core/Formula/lame.rb
Dossy Shiobara d5421bc7a2 lame: add universal option
Useful for Audacity and Mixxx, which both want libmp3lame but need i386
binaries.

Closes Homebrew/homebrew#12460.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-27 22:59:15 -05:00

18 lines
457 B
Ruby

require 'formula'
class Lame < Formula
homepage 'http://lame.sourceforge.net/'
url 'http://downloads.sourceforge.net/sourceforge/lame/lame-3.99.5.tar.gz'
md5 '84835b313d4a8b68f5349816d33e07ce'
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug", "--prefix=#{prefix}", "--enable-nasm"
system "make install"
end
end