aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/capstone.rb13
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