aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xvid.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/xvid.rb b/Library/Formula/xvid.rb
new file mode 100644
index 000000000..fcc3bb327
--- /dev/null
+++ b/Library/Formula/xvid.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Xvid <Formula
+ url 'http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.gz'
+ homepage 'http://www.xvid.org'
+ md5 '2ce9b1d280d703b5bc8e702c79e660b5'
+
+ def install
+ cd 'build/generic' do
+ system "./configure", "--disable-assembly", "--prefix=#{prefix}"
+ ENV.j1 # Doesn't compile on parallel build
+ system "make"
+ system "make install" # Need to call these separately
+ end
+ end
+end