diff options
author | Francois Perrad <fperrad@gmail.com> | 2014-01-17 18:47:35 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-21 23:27:13 +0100 |
commit | ba296ab1eaeab5ab68c596f7723932788749c9c6 (patch) | |
tree | aedd7608058c10eee77924dee98edc45a57e2719 /package/lua/5.2.3/lua-04-lua-pc.patch | |
parent | 93341046d8e25ee6f135a34a8989598de22e32ca (diff) | |
download | buildroot-ba296ab1eaeab5ab68c596f7723932788749c9c6.tar.gz buildroot-ba296ab1eaeab5ab68c596f7723932788749c9c6.zip |
lua: choice between 5.1.x & 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lua/5.2.3/lua-04-lua-pc.patch')
-rw-r--r-- | package/lua/5.2.3/lua-04-lua-pc.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/package/lua/5.2.3/lua-04-lua-pc.patch b/package/lua/5.2.3/lua-04-lua-pc.patch new file mode 100644 index 0000000000..62acb201f2 --- /dev/null +++ b/package/lua/5.2.3/lua-04-lua-pc.patch @@ -0,0 +1,40 @@ +add lua.pc + +Signed-off-by: Francois Perrad <francois.perrad@gadz.org> + +Index: b/etc/lua.pc +=================================================================== +--- /dev/null ++++ b/etc/lua.pc +@@ -0,0 +1,31 @@ ++# lua.pc -- pkg-config data for Lua ++ ++# vars from install Makefile ++ ++# grep '^V=' ../Makefile ++V= 5.2 ++# grep '^R=' ../Makefile ++R= 5.2.3 ++ ++# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' ++prefix= /usr ++INSTALL_BIN= ${prefix}/bin ++INSTALL_INC= ${prefix}/include ++INSTALL_LIB= ${prefix}/lib ++INSTALL_MAN= ${prefix}/man/man1 ++INSTALL_LMOD= ${prefix}/share/lua/${V} ++INSTALL_CMOD= ${prefix}/lib/lua/${V} ++ ++# canonical vars ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: Lua ++Description: An Extensible Extension Language ++Version: ${R} ++Requires: ++Libs: -L${libdir} -llua -lm ++Cflags: -I${includedir} ++ ++# (end of lua.pc) |