61b2307139
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.
15 lines
328 B
Ruby
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
|