homebrew-core/Formula/clay.rb

21 lines
449 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
url 'https://github.com/jckarter/clay/tarball/v0.1.0'
homepage 'http://claylabs.com/clay/'
md5 'fa34b4ecc0ab13047f802b9aac6d850b'
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_parameters}"
system "make install"
end
def test
system "clay -e 'println(\"Hello, Clay!\");'"
2010-06-30 21:51:03 +00:00
end
end