diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2017-02-23 18:00:42 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-05 22:01:39 +0100 |
commit | 01372b0d6078499663bbbc21f8dd49b7c33e9ed7 (patch) | |
tree | 7ebc6ab875a3b4467bf039bd29764607a1ecebb3 /docs/manual | |
parent | 26eca9c055f43d9749aab8ff92a61967f1b821cb (diff) | |
download | buildroot-01372b0d6078499663bbbc21f8dd49b7c33e9ed7.tar.gz buildroot-01372b0d6078499663bbbc21f8dd49b7c33e9ed7.zip |
luarocks-package: lowercase the upstream name for LuaRocks
LuaRocks has a policy that the rockspec and rock filenames are lower
case. However, the upstream name may contain uppercase characters.
We have several packages like that in Buildroot. To simplify the
package .mk files, apply the lowercase from within the infra.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/adding-packages-luarocks.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/manual/adding-packages-luarocks.txt b/docs/manual/adding-packages-luarocks.txt index 4965a209ae..ec3d4e7ccd 100644 --- a/docs/manual/adding-packages-luarocks.txt +++ b/docs/manual/adding-packages-luarocks.txt @@ -82,7 +82,8 @@ Two of them are populated by the LuaRocks infrastructure (for the * +LUA_FOO_SITE+, which defaults to +$(BR2_LUAROCKS_MIRROR)+ -* +LUA_FOO_SOURCE+, which defaults to +$(LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).src.rock+ +* +LUA_FOO_SOURCE+, which defaults to + +$(lowercase LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).src.rock+ A few additional variables, specific to the LuaRocks infrastructure, are also defined. They can be overridden in specific cases. @@ -91,7 +92,7 @@ also defined. They can be overridden in specific cases. package name * +LUA_FOO_ROCKSPEC+, which defaults to - +$(LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).rockspec+ + +$(lowercase LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).rockspec+ * +LUA_FOO_SUBDIR+, which defaults to +$(LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION_WITHOUT_ROCKSPEC_REVISION)+ |