homebrew-core/Formula/clay.rb

22 lines
472 B
Ruby
Raw Normal View History

2010-06-30 21:51:03 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Clay < Formula
homepage 'http://claylabs.com/clay/'
url 'https://github.com/jckarter/clay/archive/v0.1.2.tar.gz'
sha1 'cd557a5ccaca17fd8ec83651f8df3e5405c4f855'
2012-02-22 05:12:27 +00:00
head 'https://github.com/jckarter/clay.git'
depends_on 'cmake' => :build
depends_on 'llvm' => :build
2010-06-30 21:51:03 +00:00
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
test do
system "#{bin}/clay", "-e", "println(\"Hello, Clay!\");"
2010-06-30 21:51:03 +00:00
end
end