radare2 0.9.8

Closes Homebrew/homebrew#39838.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
David Holm 2015-05-17 11:08:17 +02:00 committed by Mike McQuaid
parent d15e6108b3
commit 304c6a970f

View file

@ -2,29 +2,18 @@ require "formula"
class Radare2 < Formula
homepage "http://radare.org"
revision 2
stable do
url "http://radare.org/get/radare2-0.9.7.tar.xz"
sha1 "34af6c6ba53ac08c852b4e110ac6908054616b9d"
# Fixes file name of dynamic libraries so that version goes before .dylib.
# *radare2 pull request #693
patch do
url "https://github.com/radare/radare2/commit/f0dbeb9950c55cdb75a2515b1cf6add4e0f4a591.diff"
sha1 "1b02e071728c2ef9b328e25ae46eac15eed391be"
end
url "http://radare.org/get/radare2-0.9.8.tar.xz"
sha256 "8e72caaebdac10300fd7ec86a5d06b1cbecfc6914e5fea4007c6e06e667bfa5a"
resource "bindings" do
url "http://radare.org/get/radare2-bindings-0.9.7.tar.xz"
sha1 "b425e3faeebd3f212e6542a64dafa3b629535e7a"
url "http://radare.org/get/radare2-bindings-0.9.8.tar.xz"
sha256 "28326effb7d1eda9f6df2ef08954774c16617046a33046501bd0332324519f39"
end
end
bottle do
sha1 "7bece65a73bd1aab23c5765b3bee164a6e6fdfb6" => :yosemite
sha1 "e9fca9c3e8aa86c32f8fda6c1a6d15b6064bbcd6" => :mavericks
sha1 "5a872355becc0ab276eee5297b951a5814c1e6a6" => :mountain_lion
end
head do
@ -54,9 +43,6 @@ class Radare2 < Formula
resource("bindings").stage do
ENV.append_path "PKG_CONFIG_PATH", "#{lib}/pkgconfig"
# https://github.com/radare/radare2-bindings/pull/18
inreplace "python-config-wrapper", '\s', '\ ' if build.stable?
system "./configure", "--prefix=#{prefix}"
system "make"
system "make", "install", "DESTDIR=#{prefix}"