homebrew-core/Formula/unrar.rb
Bob Fanger 4692fd83c8 Updated unrar to 3.9.9 and changed to a Makefile
The installation failed with the custom "generated" cpp file.
So i changed the formula to use the supplied Makefile.
2010-02-24 22:06:35 -08:00

15 lines
329 B
Ruby

require 'formula'
class Unrar <Formula
url 'http://www.rarlab.com/rar/unrarsrc-3.9.9.tar.gz'
md5 '4271fc8710d299341c969666492b305c'
homepage 'http://www.rarlab.com'
def install
system "make --makefile makefile.unix"
bin.install 'unrar'
mv 'license.txt', 'COPYING'
mv 'readme.txt', 'README'
end
end