aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJames Whitehead II2009-09-15 10:23:45 +0100
committerMax Howell2009-09-30 01:24:36 +0100
commit7f28e84704064753135b1003eb588e902f91ecd1 (patch)
treefd1cf6a984d65b85987c96b8fb2bedbac00d8b4a /Library
parentff6020ad93ef713451fc82de7b27711c901030b5 (diff)
downloadhomebrew-7f28e84704064753135b1003eb588e902f91ecd1.tar.bz2
LuaRocks formula
A deployment and management system for Lua modules.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/luarocks.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb
new file mode 100644
index 000000000..a8165f7c6
--- /dev/null
+++ b/Library/Formula/luarocks.rb
@@ -0,0 +1,15 @@
+require 'brewkit'
+
+class Luarocks <Formula
+ @url='http://luaforge.net/frs/download.php/3981/luarocks-1.0.1.tar.gz'
+ @homepage='http://luarocks.org'
+ @md5='e6fad9ddecf79808fda7fd257bfbde06'
+
+ depends_on 'lua'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end