homebrew-core/Formula/unrar.rb

16 lines
337 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Unrar < Formula
url 'http://www.rarlab.com/rar/unrarsrc-4.0.7.tar.gz'
sha1 'e4c8b0d47278475f3dfb77e8497f5818eca3d4a0'
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