capstone 2.0 (new formula)

Closes Homebrew/homebrew#26394.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Nguyen Anh Quynh 2014-02-04 17:03:34 +08:00 committed by Mike McQuaid
parent 4a350ea1ab
commit a0452c6146
1 changed files with 13 additions and 0 deletions

13
Formula/capstone.rb Normal file
View File

@ -0,0 +1,13 @@
require 'formula'
class Capstone < Formula
homepage 'http://capstone-engine.org'
url 'http://capstone-engine.org/download/2.0/capstone-2.0.tgz'
sha1 '209cdc69518f754c5d7d07672d8e28cdda9feae7'
def install
system "./make.sh"
ENV["PREFIX"] = prefix
system "./make.sh", "install"
end
end