require 'formula' | |
class Capstone < Formula | |
homepage 'http://capstone-engine.org' | |
url 'http://capstone-engine.org/download/2.1/capstone-2.1.tgz' | |
sha1 '3e5fe91684cfc76d73caa857a268332ac9d40659' | |
def install | |
inreplace 'Makefile', 'lib64', 'lib' | |
system "./make.sh" | |
ENV["PREFIX"] = prefix | |
system "./make.sh", "install" | |
end | |
end |