homebrew-core/Formula/libogg.rb
Ralph Giles aa0ff930ac libogg 1.3.1.
Closes Homebrew/homebrew#22398.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-08 23:08:18 +01:00

28 lines
640 B
Ruby

require 'formula'
class Libogg < Formula
homepage 'http://www.xiph.org/ogg/'
url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.gz'
sha1 '270685c2a3d9dc6c98372627af99868aa4b4db53'
head 'http://svn.xiph.org/trunk/ogg'
option :universal
if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
def install
ENV.universal_binary if build.universal?
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
ENV.deparallelize
system "make install"
end
end