aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/metalua.rb
blob: cde80d88aada52e173db7a055ab8303fd471b259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Metalua < Formula
  homepage 'http://metalua.luaforge.net/'
  url 'https://github.com/fab13n/metalua/archive/0.5-rc2.tar.gz'
  version '0.5-rc2'
  sha1 'ee28c801e9673cc11d1cecd0a9fda87e7d21fd6d'

  head 'https://github.com/fab13n/metalua.git'

  depends_on 'lua'

  def install
    cd "src" do
      ENV["INSTALL_BIN"] = bin
      ENV["INSTALL_LIB"] = lib

      system "./make.sh"
      system "./make-install.sh"
    end
  end
end