blob: 94c30da0209bf9626769603ce76f6c0fbfc53c5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
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
  |