aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/metalua.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/metalua.rb b/Library/Formula/metalua.rb
new file mode 100644
index 000000000..3c61c853c
--- /dev/null
+++ b/Library/Formula/metalua.rb
@@ -0,0 +1,19 @@
+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