mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
20 lines
430 B
Ruby
20 lines
430 B
Ruby
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'
|
|
|
|
depends_on 'lua'
|
|
|
|
def install
|
|
Dir.chdir "src"
|
|
ENV["INSTALL_BIN"] = "#{prefix}/bin"
|
|
ENV["INSTALL_LIB"] = "#{prefix}/lib"
|
|
|
|
system "./make.sh"
|
|
system "./make-install.sh"
|
|
end
|
|
end
|