2010-06-18 20:42:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Metalua <Formula
|
|
|
|
head 'http://github.com/fab13n/metalua.git'
|
|
|
|
url 'http://github.com/fab13n/metalua/tarball/0.5-rc2'
|
|
|
|
homepage 'http://metalua.luaforge.net/'
|
|
|
|
md5 'c841976b3a2fe9b7322aaca16927c9e2'
|
2010-08-09 17:35:12 +00:00
|
|
|
version '0.5-rc2'
|
2010-06-18 20:42:56 +00:00
|
|
|
|
|
|
|
depends_on 'lua'
|
|
|
|
|
|
|
|
def install
|
|
|
|
Dir.chdir "src"
|
2010-08-08 17:20:15 +00:00
|
|
|
ENV["INSTALL_BIN"] = bin
|
|
|
|
ENV["INSTALL_LIB"] = lib
|
2010-06-18 20:42:56 +00:00
|
|
|
|
|
|
|
system "./make.sh"
|
|
|
|
system "./make-install.sh"
|
|
|
|
end
|
|
|
|
end
|