Permalink
Browse files

Added xvid formula

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent 79fbcdd commit 5c9c69944a9286c841d6c170aa4d4f21353c32d8 Grayson Manley committed with adamv Sep 7, 2010
Showing with 16 additions and 0 deletions.
  1. +16 −0 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

0 comments on commit 5c9c699

Please sign in to comment.