homebrew-core/Formula/luarocks.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

15 lines
328 B
Ruby

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