homebrew-core/Formula/xvid.rb

19 lines
554 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Xvid < Formula
homepage 'http://www.xvid.org'
url 'http://fossies.org/unix/privat/xvidcore-1.3.2.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.2.tar.gz'
sha1 '56e065d331545ade04c63c91153b9624b51d6e1b'
def install
cd 'build/generic' do
system "./configure", "--disable-assembly", "--prefix=#{prefix}"
system "make"
2011-08-11 19:22:43 +00:00
ENV.j1 # Or install sometimes fails
system "make install"
end
end
end