2010-09-07 07:07:43 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Xvid < Formula
|
2011-07-27 08:32:13 +00:00
|
|
|
url 'http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz'
|
2010-09-07 07:07:43 +00:00
|
|
|
homepage 'http://www.xvid.org'
|
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}"
|
|
|
|
system "make"
|
2011-08-11 19:22:43 +00:00
|
|
|
ENV.j1 # Or install sometimes fails
|
|
|
|
system "make install"
|
2010-09-07 07:07:43 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|