2014-02-04 09:03:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Capstone < Formula
|
|
|
|
homepage 'http://capstone-engine.org'
|
2014-04-01 08:25:58 +00:00
|
|
|
url 'http://capstone-engine.org/download/2.1.2/capstone-2.1.2.tgz'
|
|
|
|
sha1 '235ceab369025fbad9887fe826b741ca84b1ab41'
|
2014-02-04 09:03:34 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV["PREFIX"] = prefix
|
2014-04-01 08:25:58 +00:00
|
|
|
ENV["HOMEBREW_CAPSTONE"] = "1"
|
|
|
|
system "./make.sh"
|
2014-02-04 09:03:34 +00:00
|
|
|
system "./make.sh", "install"
|
|
|
|
end
|
|
|
|
end
|