homebrew-core/Formula/libogg.rb

36 lines
901 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libogg < Formula
homepage 'https://www.xiph.org/ogg/'
url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz'
sha1 'df7f3977bbeda67306bc2a427257dd7375319d7d'
2014-02-22 14:49:22 +00:00
bottle do
cellar :any
2014-05-27 21:37:09 +00:00
sha1 "7fcbece23ab93ac6d107625aae32e966615661d1" => :mavericks
sha1 "ba0b0f47f7043e711eb8ab3719623d15395440ab" => :mountain_lion
sha1 "e5f0cb6f5b1546e8073cdaa9b09b65b8b7c0d696" => :lion
2014-02-22 14:49:22 +00:00
end
2013-09-22 01:47:12 +00:00
head do
url 'https://svn.xiph.org/trunk/ogg'
2014-06-02 02:38:17 +00:00
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
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