homebrew-core/Formula/libogg.rb

25 lines
573 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.0.tar.gz'
sha1 'a900af21b6d7db1c7aa74eb0c39589ed9db991b8'
2012-05-10 14:10:12 +00:00
head 'http://svn.xiph.org/trunk/ogg'
2012-09-03 19:29:03 +00:00
if build.head?
2012-07-07 18:08:22 +00:00
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
def install
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