Skip to content
This repository
Browse code

Added xvid formula

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 5c9c69944a9286c841d6c170aa4d4f21353c32d8 1 parent 79fbcdd
authored September 07, 2010 adamv committed September 07, 2010

Showing 1 changed file with 16 additions and 0 deletions. Show diff stats Hide diff stats

  1. 16  Library/Formula/xvid.rb
16  Library/Formula/xvid.rb
... ...
@@ -0,0 +1,16 @@
  1
+require 'formula'
  2
+
  3
+class Xvid <Formula
  4
+  url 'http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.gz'
  5
+  homepage 'http://www.xvid.org'
  6
+  md5 '2ce9b1d280d703b5bc8e702c79e660b5'
  7
+
  8
+  def install
  9
+    cd 'build/generic' do
  10
+      system "./configure", "--disable-assembly", "--prefix=#{prefix}"
  11
+      ENV.j1 # Doesn't compile on parallel build
  12
+      system "make"
  13
+      system "make install" # Need to call these separately
  14
+    end
  15
+  end
  16
+end

0 notes on commit 5c9c699

Please sign in to comment.
Something went wrong with that request. Please try again.