2010-09-07 07:07:43 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Xvid < Formula
|
2010-09-07 07:07:43 +00:00
|
|
|
homepage 'http://www.xvid.org'
|
2012-12-28 00:34:11 +00:00
|
|
|
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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '56e065d331545ade04c63c91153b9624b51d6e1b'
|
2010-09-07 07:07:43 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
cd 'build/generic' do
|
|
|
|
system "./configure", "--disable-assembly", "--prefix=#{prefix}"
|
2013-01-28 15:23:41 +00:00
|
|
|
ENV.j1 # Or make fails
|
2010-09-07 07:07:43 +00:00
|
|
|
system "make"
|
2011-08-11 19:22:43 +00:00
|
|
|
system "make install"
|
2010-09-07 07:07:43 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|