homebrew-core/Formula/unrar.rb
2011-03-12 11:55:09 -08:00

15 lines
328 B
Ruby

require 'formula'
class Unrar < Formula
url 'http://www.rarlab.com/rar/unrarsrc-4.0.6.tar.gz'
md5 '52c8b40a2f041b55baa508f2db091855'
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