aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Höppner2009-09-27 18:10:38 +0200
committerMax Howell2009-09-30 01:24:31 +0100
commitc40d162750399bce96460843bb18bf37e36d7024 (patch)
treece90663bf0321644fe3753fdaef4dd9b8cdfbedb /Library/Formula
parentc32fa70cdf8771c5d12f06b9f3c1a6586a9df373 (diff)
downloadhomebrew-c40d162750399bce96460843bb18bf37e36d7024.tar.bz2
Theora formula
Theora is a free and open video compression format from the Xiph.org Foundation. Like all our multimedia technology it can be used to distribute film and video online and on disc without the licensing and royalty fees or vendor lock-in associated with other formats. Signed-off-by: Max Howell <max@methylblue.com> I changed the name to theora as that is how Xiph refer to it.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/theora.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/theora.rb b/Library/Formula/theora.rb
new file mode 100644
index 000000000..b5eb2b84d
--- /dev/null
+++ b/Library/Formula/theora.rb
@@ -0,0 +1,15 @@
+require 'brewkit'
+
+class Theora <Formula
+ url 'http://downloads.xiph.org/releases/theora/libtheora-1.1.0.tar.bz2'
+ homepage 'http://www.theora.org/'
+ md5 'd0f83cf7f13e2b3bd068a858ca1398ad'
+
+ depends_on 'libogg'
+ depends_on 'libvorbis'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end