homebrew-core/Formula/libvorbis.rb
Jack Nagel 76bcb39bdf Remove explicit xz deps from formulae with HEAD specs
These deps are only needed for the stable download, but they will get
pulled in for HEAD builds unless the are scoped appropriately (i.e.
inside a stable block).

Since they are also auto-detected from the URL now, we can just remove
them.
2013-12-09 12:29:20 -06:00

29 lines
658 B
Ruby

require 'formula'
class Libvorbis < Formula
homepage 'http://vorbis.com'
url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.xz'
sha1 '31d1a0ec4815bf1ee638b0f2850f03efcd48022a'
head do
url 'http://svn.xiph.org/trunk/vorbis'
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
option :universal
depends_on 'pkg-config' => :build
depends_on 'libogg'
def install
ENV.universal_binary if build.universal?
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end