aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lua.rb
AgeCommit message (Collapse)Author
2015-04-24lua: update 5.2.3_2 bottle.BrewTestBot
2015-04-24luarocks: migrate into lua formulaeDominyk Tiller
This PR ‘pythonises’ the Lua setup. There have been requests for us to do this for a while, and it’s a good idea - It’s just taken me a while to finish ironing out. The individual luarocks formula dies entirely, in favour of luarocks being vendored into the two Lua formulae in Homebrew/homebrew with versioned trees. This provides roughly the same experience we deliver with pip and co from Python. Luajit is not yet supported, because it’s being a pain, but Luajit support will land in the semi-near future, as will support for Lua53 in Versions. All 4 installations can sit side-by-side with no non-binary conflict. Binary conflict is handled roughly the same way Python handles it sadly, which is regrettable but presently unavoidable.
2014-10-19lua: add 5.2.3_1 bottle.BrewTestBot
2014-10-10lua* improvements.Dominyk Tiller
Fix some issues with luarocks looking for the wrong version and cleanup the lua and lua51 formulae. Closes #32354.
2014-09-21Lua: PatchesDominyk Tiller
1) Fixes the :universal build. 2) Includes the completion patch that we previously killed. 3) Includes the sigaction patch that Lua52 never carried but we carried for Lua51, so presumably want to here as well. 4) Closes #32437 Closes #32437. Closes #32460. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-16lua: upgrade to 5.2.Dominyk Tiller
Merges Lua52 into the Master branch as the new ‘Lua’ whilst transitioning the old Lua formula to ‘Lua51’, running the two side-by-side in a non-conflicting way.
2014-03-17lua: use checksummed patchesJack Nagel
2014-03-08formulae: fix with/without usage.Mike McQuaid
Closes #27275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-22lua: add 5.1.5 bottle.BrewTestBot
2014-02-11lua: add testMike Naberezny
Closes #26646. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-06-24lua: make sigaction powerpatch default, support --without-sigactionGary V. Vaughan
* update option decls to with/without * apply sigaction powerpatch by default, unless --without-sigaction is passed. Closes #20679. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-21lua: fix ^C^C signal bugGary V. Vaughan
Add sigaction powerpatch option. Closes #20657. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01Lua 5.1.5Hiroaki Nakamura
Closes #16213. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-04lua: add universal optionAdam Vandenberg
Closes #16888.
2012-09-16lua: use sha1, remove skip_clean :allJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-16lua: revert to 5.1.4Peter Aronoff
Closes #14974. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-29Lua 5.2.1John Calsbeek
Closes #14512. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-27lua: use new dslAdam Vandenberg
2012-08-18Replace version strings with Version objectsJack Nagel
2012-06-15lua: style nitAdam Vandenberg
2012-06-15lua: Using our LDFLAGSsamueljohn
This is needed for Xcode-only installations, since the LDFLAGS matter. Closes #12856. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-04-01Use new fails_with DSL syntaxJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-08Lua: take 5.1.4-3 patch from MacPortsLuke Campbell
Closes #10790. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-24Add option for advanced readline support in LuaPeter Aronoff
Lua can be patched to provide better readline support.[1] On OSX the patch will use libedit. I am new to Lua, so I can't say how popular this patch is, but it builds cleanly and easily with Homebrew, and I'm already finding that it makes Lua's REPL much more friendly. [1] See http://lua-users.org/wiki/LuaPowerPatches, under 'Advanced readline support'. Closes #9255. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2011-12-09lua: use correct install name when generating dylibJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-15Lua: Ensure liblua.dylib is createdPop Qvarnström
Adding versionless soft link in INSTALL_LIB to allow linking with -llua (see homebrew issue #6350 for an example) (Related to name change in commit 9228a05f98). Fixes #7642. Fixes #6648. Closes #7561. Closes #7517. Closes #6235. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-02Don't fails_with_llvm if MacOS.lion?Max Howell
Not sure how I failed so badly at logic. This should be rewritten so that the build info has a tested MacOS version too. However it seems unlikely that the same LLVM versions on different platforms would have different compile errors. So we'll risk it, and it'll be informative for us too.
2011-09-01LUA builds with LLVMMax Howell
Closes #7360.
2011-08-31lua: install a dylib rather than a static liblua.Gary V. Vaughan
Although other loadable lua modules (such as those from luarocks) should not link against even a dynamic liblua and tie themselves to a particular release and runtime (e.g. breaking luajit capability): Having a statically linked non-pic liblua in the lua binary can and does cause hard to track memory allocation failure aborts due to some minutae of the way '-bundle -undefined dynamic_lookup' objects dlopened by the interpreter interact with the symbols resolved in the static binary. The solution is to always build and install liblua.dylib. It appears that this issue is confined to Snow Leopard and/or the version of gcc it ships with. This thread on the lua list contains the explanation and patch: http://lua-users.org/lists/lua-l/2009-10/msg00145.html Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-05Make luarocks "just work" with luaMax Howell
Fixes #5735. Our default install now doesn't make `/usr/local` group writable in an attempt to "play nicely", this caused luarocks to refuse to install anything because it would assume a non-writable prefix would mean it couldn't write any files. Which is an incorrect check since it only installs files to `prefix/lib`. So the check is removed with a patch if Homebrew is installed to `/usr/local`.
2011-03-25Update fails_with_llvm in formulaeAdam Vandenberg
2011-03-18Lua 5.1.4 patch-level 3Adam Vandenberg
Also, mark lua as "not working with LLVM". This is not strictly true, as Lua itself will compile with llvm, but other software linking to lua (such as gnuplot) may then fail to link. So to be safe, flag Lua itself.
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2010-12-26lua: use safe_system for calling patchCamillo Lugaresi
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-10Update formulae to use ENV.cflagsAdam Vandenberg
2010-08-07Update formulae for version 0.7Adam Vandenberg
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
2010-07-16Fix lua.pcAdam Vandenberg
Fixes #1876
2010-06-29lua - don't strip symbolsAdam Vandenberg
2010-06-23Simplify Lua brewAdam Vandenberg
* Replace the wodgy patch with use of inreplace and ENV vars. * Keep the (initially empty) share/lua and lib/lua folders around, so that lua package managers can put modules there.
2010-03-16Remove modification of lua man page location.Ali Asad Lotia
The man page was being installed in #{prefix}/share/share/man. The default value in the makefile installs to #{prefix}/share/man which is fine. I removed the "inreplace" block that changes the location from the default. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-21Use more inreplace features.Adam Vandenberg
Update formulas to make more idiomatic use of "inreplace", including its new ability to take a list of files to act on.
2009-12-17Update Lua to install pkg-config info.Adam Vandenberg
2009-12-12Reformat lua formula.Adam Vandenberg
2009-10-15s/require 'brewkit'/require 'formula'/gMax Howell
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-09-30Fix the Lua formula to properly load libraries installed in HOMEBREW_PREFIXJames Whitehead II
2009-09-16Default to patch level 1Max Howell
Having gone through our patches it's clear that p1 is more standard. Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16Use __END__ patch rather than github gistMax Howell
Also there was seemingly some bug where if you didn't read the pipe for the patch commmand the exit status was non-zero.
2009-09-16Fix up Lua formula a bitBen Alpert
2009-09-01Lua formulaSean Wolfe
Lua is a powerful, fast, lightweight, embeddable scripting language.