homebrew-core/Formula/xvid.rb
2014-10-22 08:27:03 +01:00

26 lines
792 B
Ruby

require 'formula'
class Xvid < Formula
homepage 'http://www.xvid.org'
url 'http://fossies.org/unix/privat/xvidcore-1.3.3.tar.gz'
# Official download takes a long time to fail, so set it as the mirror for now
mirror 'http://downloads.xvid.org/downloads/xvidcore-1.3.3.tar.gz'
sha1 '465763c92679ca230526d4890d17dbf6d6974b08'
bottle do
cellar :any
revision 1
sha1 "7909530c342faf017a3182e8393e24eaf11ebd02" => :yosemite
sha1 "f8c77d6d2ea36943646f6ffcfcc999db50d62bab" => :mavericks
sha1 "d0df269c7a0ef1e6c1d2a05ef0e8b9cea0b2d461" => :mountain_lion
end
def install
cd 'build/generic' do
system "./configure", "--disable-assembly", "--prefix=#{prefix}"
ENV.j1 # Or make fails
system "make"
system "make install"
end
end
end