homebrew-core/Formula/clay.rb
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00

21 lines
457 B
Ruby

require 'formula'
class Clay < Formula
homepage 'http://claylabs.com/clay/'
url 'https://github.com/jckarter/clay/tarball/v0.1.0'
md5 'fa34b4ecc0ab13047f802b9aac6d850b'
head 'https://github.com/jckarter/clay.git'
depends_on 'cmake' => :build
depends_on 'llvm' => :build
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
def test
system "#{bin}/clay", "-e", "println(\"Hello, Clay!\");"
end
end