aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xvid.rb
blob: fcc3bb327cfca5a1f233538fab4becfd007c6a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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