Commit Graph

15 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Tony Theodore e7b9a21056 native pkgs: use explicit cross-target deps and remove empty rules 2017-12-23 08:18:52 +11:00
Boris Nagaev ea35a6cd96 luarocks: move most of the patch to config.lua
See https://github.com/keplerproject/luarocks/pull/491#issuecomment-246206471
2016-12-05 09:43:04 +01:00
Boris Nagaev 953d7c3f0c luarocks wrapper: remove lock if failed
Luarocks wrapper used to keep lock dir not removed if luarocks process
failed. To run it again, the lock directory should have been removed
manually.
2016-10-27 23:18:38 +03:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Boris Nagaev 4f2f9bf806 update luarocks from 2.2.2 to 2.3.0 2016-01-13 23:27:07 +03:00
Boris Nagaev 199f2e53b8 luarocks wrapper: exit with non-zero on failure 2016-01-13 23:27:07 +03:00
Tony Theodore e6f1f26114 luarocks: create the lock dir's parent
Source: https://github.com/mxe/mxe/pull/1017#issuecomment-162260698
2015-12-06 05:38:24 +03:00
Boris Nagaev 51a6141cf9 luarocks wrapper prevents race condition
See https://github.com/mxe/mxe/pull/1017#issuecomment-161557440
See http://wiki.bash-hackers.org/howto/mutex
2015-12-06 05:38:24 +03:00
Boris Nagaev f89bc0824b lpeg.mk, luarocks.mk: s/sort/$(SORT)/ 2015-12-06 05:38:24 +03:00
Boris Nagaev f37f78b541 add _WEBSITE and _OWNER to luarocks/*.mk 2015-12-06 05:38:24 +03:00
Boris Nagaev a79bd18dac install lua symlinks to $(PREFIX)/$(BUILD)/bin
... instead of $(PREFIX)/bin, not to clobber the user's normal
tools.

See #1017
2015-12-06 05:38:24 +03:00
Boris Nagaev 5c58492295 move lua_SHORTVER from luarocks.mk to lua.mk
See #1017
2015-12-06 05:38:23 +03:00
Boris Nagaev c7885483fd luarocks: separate build and install
> install doesn't depend on build so (on OSX) the symlink is
> created first and doesn't have execute permissions. These
> steps should be separated.

See #1017
2015-12-06 05:38:23 +03:00
Boris Nagaev 43cb3196e6 add plugin luarocks
LuaRocks plugin adds

  * package "luarocks"
  * several packages with rocks (lpeg, luasocket, llthreads2, lua-rapidjson)
  * plugins/luarocks/README.md
  * virtual rock "all-rocks" depending on all rocks
  * short test for rocks
2015-12-06 05:38:23 +03:00