homebrew-core/Formula/luarocks.rb

16 lines
328 B
Ruby
Raw Normal View History

require 'formula'
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