homebrew-core/Formula/theora.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

15 lines
390 B
Ruby

require 'formula'
class Theora <Formula
url 'http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2'
homepage 'http://www.theora.org/'
md5 '292ab65cedd5021d6b7ddd117e07cd8e'
depends_on 'libogg'
depends_on 'libvorbis'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end