summaryrefslogtreecommitdiffstats
path: root/package/lua/5.2.4/0004-lua-pc.patch
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2015-03-08 11:56:16 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-08 14:34:52 +0100
commit077193b6b3afb9af431d99a7a7ce5471f7a98a87 (patch)
tree726d21aa4f53b9e82ce4dfeb761f47bc486f3d98 /package/lua/5.2.4/0004-lua-pc.patch
parent1f361b26e8cbe5686d2a570b6cd9eeb4a7e684fe (diff)
downloadbuildroot-077193b6b3afb9af431d99a7a7ce5471f7a98a87.tar.gz
buildroot-077193b6b3afb9af431d99a7a7ce5471f7a98a87.zip
lua: bump to version 5.2.4
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua/5.2.4/0004-lua-pc.patch')
-rw-r--r--package/lua/5.2.4/0004-lua-pc.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/lua/5.2.4/0004-lua-pc.patch b/package/lua/5.2.4/0004-lua-pc.patch
new file mode 100644
index 0000000000..62acb201f2
--- /dev/null
+++ b/package/lua/5.2.4/0004-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)
OpenPOWER on IntegriCloud