2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-27 16:10:38 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Theora < Formula
|
2009-10-06 05:56:38 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2'
|
2009-09-27 16:10:38 +00:00
|
|
|
homepage 'http://www.theora.org/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '8dcaa8e61cd86eb1244467c0b64b9ddac04ae262'
|
2009-09-27 16:10:38 +00:00
|
|
|
|
2010-10-21 05:01:32 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2009-09-27 16:10:38 +00:00
|
|
|
depends_on 'libogg'
|
|
|
|
depends_on 'libvorbis'
|
|
|
|
|
|
|
|
def install
|
2010-10-21 05:01:32 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-09-27 16:10:38 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|