diff options
| author | James Whitehead II | 2009-09-15 10:23:45 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-30 01:24:36 +0100 |
| commit | 7f28e84704064753135b1003eb588e902f91ecd1 (patch) | |
| tree | fd1cf6a984d65b85987c96b8fb2bedbac00d8b4a /Library | |
| parent | ff6020ad93ef713451fc82de7b27711c901030b5 (diff) | |
| download | homebrew-7f28e84704064753135b1003eb588e902f91ecd1.tar.bz2 | |
LuaRocks formula
A deployment and management system for Lua modules.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/luarocks.rb | 15 |
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 |
