homebrew-core/Formula/luvit.rb
Cyril Lashkevich f43e9b0d0a luvit 0.7.0
Closes Homebrew/homebrew#24522.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-20 17:53:15 -08:00

20 lines
445 B
Ruby

require 'formula'
class Luvit < Formula
homepage 'http://luvit.io'
url 'http://luvit.io/dist/latest/luvit-0.7.0.tar.gz'
sha1 '6b6ca9723e90473df15abc92cbcb12cfdf7529ab'
head 'https://github.com/luvit/luvit.git'
depends_on 'pkg-config' => :build
depends_on 'luajit'
def install
ENV['USE_SYSTEM_SSL'] = '1'
ENV['USE_SYSTEM_LUAJIT'] = '1'
ENV['PREFIX'] = prefix
system 'make'
system 'make', 'install'
end
end