aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorbeville2015-02-17 18:26:50 -0800
committerMike McQuaid2015-02-18 22:27:20 +0000
commitba0c0c977038cdedc5cf00f1144de80b2af4b62f (patch)
tree35f8f0486bcdd034d4a247228881dad38b885da6 /Library
parente855e2fc31160680425e482cc5bf1382176a9e43 (diff)
downloadhomebrew-ba0c0c977038cdedc5cf00f1144de80b2af4b62f.tar.bz2
unrar 5.2.6
Closes #36917. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/unrar.rb14
1 files changed, 12 insertions, 2 deletions
diff --git a/Library/Formula/unrar.rb b/Library/Formula/unrar.rb
index 67e69ea44..cb4719408 100644
--- a/Library/Formula/unrar.rb
+++ b/Library/Formula/unrar.rb
@@ -2,8 +2,8 @@ require 'formula'
class Unrar < Formula
homepage 'http://www.rarlab.com'
- url 'http://www.rarlab.com/rar/unrarsrc-5.2.3.tar.gz'
- sha1 '31e7dad7424635e7a3ae823b5dd9e50db54393ec'
+ url 'http://www.rarlab.com/rar/unrarsrc-5.2.6.tar.gz'
+ sha1 'bdd4c8936fd0deb460afe8b7afa9322dd63f3ecb'
bottle do
cellar :any
@@ -14,7 +14,17 @@ class Unrar < Formula
def install
system "make"
+ # Explicitly clean up for the library build to avoid an issue with an apparent
+ # implicit clean which confuses the dependencies.
+ system "make", "clean"
+ system "make", "lib"
+
bin.install 'unrar'
+ # NOTE: Sent an email to dev@rarlab.com (18-Feb-2015) asking them to look into the
+ # need for the explicit clean, and to change the make to generate a dylib file
+ # on OS X
+ lib.install "libunrar.so" => "libunrar.dylib"
+
end
test do