aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGrayson Manley2010-09-07 02:07:43 -0500
committerAdam Vandenberg2010-09-07 04:01:51 -0700
commit5c9c69944a9286c841d6c170aa4d4f21353c32d8 (patch)
tree217ca06d507c94d65471fee72f3b4ec1a8ad1956 /Library
parent79fbcdde3730c0b31168729b1a25d3ba940dfa55 (diff)
downloadhomebrew-5c9c69944a9286c841d6c170aa4d4f21353c32d8.tar.bz2
Added xvid formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-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