diff options
| author | Nguyen Anh Quynh | 2014-02-04 17:03:34 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-04 10:49:36 +0000 |
| commit | 65c39001c2a2cb5daff1b6df83bc40c72994be88 (patch) | |
| tree | 6682fefe3a72cf21bafdbe3ed956d3d42d3a6823 /Library/Formula/capstone.rb | |
| parent | 860af6d6f8561884640b13c341d5b91ad6c1d55b (diff) | |
| download | homebrew-65c39001c2a2cb5daff1b6df83bc40c72994be88.tar.bz2 | |
capstone 2.0 (new formula)
Closes #26394.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/capstone.rb')
| -rw-r--r-- | Library/Formula/capstone.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/capstone.rb b/Library/Formula/capstone.rb new file mode 100644 index 000000000..3f28e479e --- /dev/null +++ b/Library/Formula/capstone.rb @@ -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 |
