diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/unrar.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Library/Formula/unrar.rb b/Library/Formula/unrar.rb index 0d0c0a2ae..7362326a3 100644 --- a/Library/Formula/unrar.rb +++ b/Library/Formula/unrar.rb @@ -5,8 +5,19 @@ class Unrar < Formula url 'http://www.rarlab.com/rar/unrarsrc-4.2.4.tar.gz' sha1 '1cc29603fb4e4df16a3aa9bfc7da1afaf0923259' + devel do + url 'http://www.rarlab.com/rar/unrarsrc-5.0.10.tar.gz' + sha1 'd48c245a58193c373fd2633f40829dcdda33b387' + end + def install - system "make --makefile makefile.unix" + + if build.stable? + system "make --makefile makefile.unix" + else + system "make" + end + bin.install 'unrar' prefix.install 'license.txt' => 'COPYING' prefix.install 'readme.txt' => 'README' |
