diff options
author | Francois Perrad <fperrad@gmail.com> | 2018-12-19 09:17:03 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-31 17:40:58 +0100 |
commit | b38992449890753504a7c846837fdfc9a5142f99 (patch) | |
tree | 6c2fbdcc2fe92eb9e5317dd90042e65c727b8eff /docs | |
parent | 78c4144fb172d8c203939e1c2fa7a24b9e288415 (diff) |
package/luarocks: add buildroot addon
This addon allows to generate a Buildroot package from a Luarocks
package definition.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/adding-packages-luarocks.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-luarocks.txt b/docs/manual/adding-packages-luarocks.txt index ec3d4e7ccd..df97cdd503 100644 --- a/docs/manual/adding-packages-luarocks.txt +++ b/docs/manual/adding-packages-luarocks.txt @@ -50,6 +50,16 @@ Finally, on line 16, we invoke the +luarocks-package+ macro that generates all the Makefile rules that actually allows the package to be built. +Most of these details can be retrieved from the +rock+ and +rockspec+. +So, this file and the Config.in file can be generated by running the +command +luarocks buildroot foo lua-foo+ in the Buildroot +directory. This command runs a specific Buildroot addon of +luarocks+ +that will automatically generate a Buildroot package. The result must +still be manually inspected and possibly modified. + +* The +package/Config.in+ file has to be updated manually to include the + generated Config.in files. + [[luarocks-package-reference]] ==== +luarocks-package+ reference |