homebrew-core/Formula/capstone.rb
BrewTestBot edada37c80 capstone: add 2.1.2 bottle.
Closes Homebrew/homebrew#28029.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-04-02 12:59:43 +01:00

21 lines
579 B
Ruby

require 'formula'
class Capstone < Formula
homepage 'http://capstone-engine.org'
url 'http://capstone-engine.org/download/2.1.2/capstone-2.1.2.tgz'
sha1 '235ceab369025fbad9887fe826b741ca84b1ab41'
bottle do
cellar :any
sha1 "939e0cc64db9f03b5cbbe2240e02aa345367d3d8" => :mavericks
sha1 "9104b5cbe4edce547023b27e22043fe233e3802d" => :mountain_lion
sha1 "aad566084e5c4bf5923564cb29a46c983191df29" => :lion
end
def install
ENV["PREFIX"] = prefix
ENV["HOMEBREW_CAPSTONE"] = "1"
system "./make.sh"
system "./make.sh", "install"
end
end