From 65c39001c2a2cb5daff1b6df83bc40c72994be88 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 4 Feb 2014 17:03:34 +0800 Subject: capstone 2.0 (new formula) Closes #26394. Signed-off-by: Mike McQuaid --- Library/Formula/capstone.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Library/Formula/capstone.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3