2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-18 07:15:07 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Unrar < Formula
|
2012-05-12 03:02:40 +00:00
|
|
|
url 'http://www.rarlab.com/rar/unrarsrc-4.2.1.tar.gz'
|
|
|
|
sha1 '10f48ec272f413c983032b2e0cbe4e94781c7b3b'
|
2010-02-20 09:44:24 +00:00
|
|
|
homepage 'http://www.rarlab.com'
|
2009-06-18 07:15:07 +00:00
|
|
|
|
|
|
|
def install
|
2010-03-21 13:03:12 +00:00
|
|
|
system "make --makefile makefile.unix"
|
2009-06-18 07:15:07 +00:00
|
|
|
bin.install 'unrar'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-02-20 09:44:24 +00:00
|
|
|
mv 'license.txt', 'COPYING'
|
|
|
|
mv 'readme.txt', 'README'
|
2009-06-18 07:15:07 +00:00
|
|
|
end
|
2010-02-20 09:44:24 +00:00
|
|
|
end
|