2013-05-19 14:22:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Luvit < Formula
|
|
|
|
homepage 'http://luvit.io'
|
2014-07-13 15:28:22 +00:00
|
|
|
url 'http://luvit.io/dist/latest/luvit-0.8.2.tar.gz'
|
|
|
|
sha1 '0e53fa128eb48d429134435f15653c80b8c9485c'
|
2013-05-19 14:22:59 +00:00
|
|
|
|
|
|
|
head 'https://github.com/luvit/luvit.git'
|
|
|
|
|
2013-11-20 09:48:53 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'luajit'
|
|
|
|
|
2013-05-19 14:22:59 +00:00
|
|
|
def install
|
2013-11-20 09:48:53 +00:00
|
|
|
ENV['USE_SYSTEM_SSL'] = '1'
|
|
|
|
ENV['USE_SYSTEM_LUAJIT'] = '1'
|
2013-05-19 14:22:59 +00:00
|
|
|
ENV['PREFIX'] = prefix
|
|
|
|
system 'make'
|
|
|
|
system 'make', 'install'
|
|
|
|
end
|
|
|
|
end
|