[Buildroot] [PATCH 04/25] manual: luarocks: improve tutorial example
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Thu Feb 23 17:00:26 UTC 2017
The license file in a luarocks package is always inside the subdir, so the
example should reflect this.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
docs/manual/adding-packages-luarocks.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/manual/adding-packages-luarocks.txt b/docs/manual/adding-packages-luarocks.txt
index c914238f0b..712c29e9a4 100644
--- a/docs/manual/adding-packages-luarocks.txt
+++ b/docs/manual/adding-packages-luarocks.txt
@@ -23,7 +23,7 @@ with an example :
10: LUAFOO_BUILD_OPTS += FOO_INCDIR=$(STAGING_DIR)/usr/include
11: LUAFOO_BUILD_OPTS += FOO_LIBDIR=$(STAGING_DIR)/usr/lib
12: LUAFOO_LICENSE = luaFoo license
-13: LUAFOO_LICENSE_FILES = COPYING
+13: LUAFOO_LICENSE_FILES = $(LUAFOO_SUBDIR)/COPYING
14:
15: $(eval $(luarocks-package))
------------------------
--
2.11.0
More information about the buildroot
mailing list