blob: 2f1b7b6b5a66301da9e75ba7cb75697578814f6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
|