7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
15 lines
328 B
Ruby
15 lines
328 B
Ruby
require 'formula'
|
|
|
|
class Unrar <Formula
|
|
url 'http://www.rarlab.com/rar/unrarsrc-3.9.10.tar.gz'
|
|
md5 '3c130ae52ff9fece50af988c343e396d'
|
|
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
|