diff options
| author | Adam Vandenberg | 2010-06-23 12:30:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-29 13:17:51 -0700 |
| commit | 202200c8c55211bf1d95577e75f2dcf1d553675d (patch) | |
| tree | 39f803ed84204bd52d244ee0bb92bc0202194c8a /Library/Formula | |
| parent | a09ec5e2bbb4ebe7bd4b96a254bd5b4618b15dc4 (diff) | |
| download | homebrew-202200c8c55211bf1d95577e75f2dcf1d553675d.tar.bz2 | |
Update luarocks to find lua.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/luarocks.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb index b8161c32b..4c9df3f3e 100644 --- a/Library/Formula/luarocks.rb +++ b/Library/Formula/luarocks.rb @@ -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 |
