61b2307139
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.
15 lines
390 B
Ruby
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
|