LuaRocks formula

A deployment and management system for Lua modules.
master
James Whitehead II 2009-09-15 10:23:45 +01:00 committed by Max Howell
parent 1b3a9df8a2
commit f71c9c702b
1 changed files with 15 additions and 0 deletions

15
Formula/luarocks.rb Normal file
View File

@ -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