mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 04:29:50 -05:00
Useful for Audacity and Mixxx, which both want libmp3lame but need i386 binaries. Closes #12460. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
457 B
Ruby
19 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
|