2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lame < Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://lame.sourceforge.net/'
|
2012-05-14 07:23:22 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/lame/lame-3.99.5.tar.gz'
|
|
|
|
md5 '84835b313d4a8b68f5349816d33e07ce'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2012-05-27 17:29:53 +00:00
|
|
|
def options
|
|
|
|
[["--universal", "Build a universal binary."]]
|
|
|
|
end
|
|
|
|
|
2009-06-04 18:21:19 +00:00
|
|
|
def install
|
2012-05-27 17:29:53 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--prefix=#{prefix}", "--enable-nasm"
|
2009-06-04 18:21:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|