homebrew-core/Formula/clay.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

21 lines
473 B
Ruby

require 'formula'
class Clay < Formula
homepage 'http://claylabs.com/clay/'
url 'https://github.com/jckarter/clay/archive/v0.1.2.tar.gz'
sha1 'cd557a5ccaca17fd8ec83651f8df3e5405c4f855'
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