keystone 0.9.1 (new formula)

Closes #19115.

Signed-off-by: William Woodruff <william@tuffbizz.com>
This commit is contained in:
Stephen 2017-10-06 09:28:29 -07:00 committed by William Woodruff
parent d005fb006e
commit c2eb544fb4
No known key found for this signature in database
GPG key ID: 85AE00C504833B3C

18
Formula/keystone.rb Normal file
View file

@ -0,0 +1,18 @@
class Keystone < Formula
desc "Assembler framework: Core + bindings"
homepage "http://www.keystone-engine.org"
url "https://github.com/keystone-engine/keystone/archive/0.9.1.tar.gz"
sha256 "e9d706cd0c19c49a6524b77db8158449b9c434b415fbf94a073968b68cf8a9f0"
head "https://github.com/keystone-engine/keystone.git"
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
test do
assert_equal "nop = [ 90 ]", shell_output("#{bin}/kstool x16 nop").strip
end
end