homebrew-core/Formula/libvorbis.rb

27 lines
625 B
Ruby
Raw Normal View History

require 'formula'
2009-06-18 08:53:36 +00:00
2011-03-10 05:11:03 +00:00
class Libvorbis < Formula
2009-12-13 01:36:07 +00:00
homepage 'http://vorbis.com'
url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.xz'
sha1 '31d1a0ec4815bf1ee638b0f2850f03efcd48022a'
2009-06-18 08:53:36 +00:00
2012-05-10 14:10:12 +00:00
head 'http://svn.xiph.org/trunk/vorbis'
depends_on 'xz' => :build
depends_on 'pkg-config' => :build
depends_on 'libogg'
2009-06-18 08:53:36 +00:00
2012-08-23 04:04:16 +00:00
if build.head?
2012-07-07 18:08:22 +00:00
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
2009-06-18 08:53:36 +00:00
def install
2012-08-23 04:04:16 +00:00
system "./autogen.sh" if build.head?
2012-07-07 18:08:22 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-06-18 08:53:36 +00:00
system "make install"
end
2009-12-13 01:36:07 +00:00
end