homebrew-core/Formula/libogg.rb

36 lines
866 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libogg < Formula
2009-12-13 01:36:07 +00:00
homepage 'http://www.xiph.org/ogg/'
url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.gz'
sha1 '270685c2a3d9dc6c98372627af99868aa4b4db53'
2014-02-22 14:49:22 +00:00
bottle do
cellar :any
sha1 "925af318955228698a49274ad4d8fdf159516476" => :mavericks
sha1 "097ab6c63f37d1e5c87c1f1d537ba544dcb00690" => :mountain_lion
sha1 "01f043b7262c73bce7bb2cb5237e90ee91462b58" => :lion
end
2013-09-22 01:47:12 +00:00
head do
url 'http://svn.xiph.org/trunk/ogg'
2012-07-07 18:08:22 +00:00
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
2013-09-22 01:47:12 +00:00
option :universal
def install
ENV.universal_binary if build.universal?
2012-09-03 19:29:03 +00:00
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
ENV.deparallelize
system "make install"
end
2009-12-13 01:36:07 +00:00
end