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/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/sourceforge/lame/lame-3.99.5.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2014-02-22 17:34:55 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "2c082ab45be931a4b1215775f90b6dccb65af00d" => :mavericks
|
|
|
|
sha1 "d74f4bb8458ae47050e5f6aa0c5583a3623e2c25" => :mountain_lion
|
|
|
|
sha1 "98cf6f0f8db0aa4d1684dec1706085a375d19ba5" => :lion
|
|
|
|
end
|
|
|
|
|
2012-08-10 05:12:57 +00:00
|
|
|
option :universal
|
2012-05-27 17:29:53 +00:00
|
|
|
|
2009-06-04 18:21:19 +00:00
|
|
|
def install
|
2012-08-10 05:12:57 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2012-05-27 17:29:53 +00:00
|
|
|
|
2013-05-12 07:48:35 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--disable-debug",
|
2012-08-10 05:12:57 +00:00
|
|
|
"--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
|