Update luarocks to find lua.
This commit is contained in:
parent
2d5f879f59
commit
e6d2613358
1 changed files with 6 additions and 1 deletions
|
@ -6,9 +6,14 @@ class Luarocks <Formula
|
|||
@md5='e6fad9ddecf79808fda7fd257bfbde06'
|
||||
|
||||
depends_on 'lua'
|
||||
# wget or curl can be used as the downloader...
|
||||
# depends_on 'wget' => :optional
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
# Install to the Cellar, but direct modules to HOMEBREW_PREFIX
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--rocks-tree=#{HOMEBREW_PREFIX}/lib/luarocks",
|
||||
"--sysconfdir=#{etc}/luarocks"
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue