summaryrefslogtreecommitdiffstats
path: root/package/lua/5.2.4
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2017-08-21 18:37:23 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-10-12 22:05:04 +0200
commita4b8299df3cb7a508843ca6698812171d1592eae (patch)
treea2f60e636aa301bb367a6828c9f6fd11bea8185e /package/lua/5.2.4
parent08aa81768ed64d07f62d83da3760e9d09bf139ff (diff)
downloadbuildroot-a4b8299df3cb7a508843ca6698812171d1592eae.tar.gz
buildroot-a4b8299df3cb7a508843ca6698812171d1592eae.zip
lua: refactor with a common template lua.pc.in
lua.pc is generated from a common template in the build step. install steps are restored like in BR 2017.05 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')
-rw-r--r--package/lua/5.2.4/0004-lua-pc.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/package/lua/5.2.4/0004-lua-pc.patch b/package/lua/5.2.4/0004-lua-pc.patch
deleted file mode 100644
index 31ff61157a..0000000000
--- a/package/lua/5.2.4/0004-lua-pc.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-add lua.pc
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-[Jörg Krause: add @MYLIBS@]
-Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
-
-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 @MYLIBS@
-+Cflags: -I${includedir}
-+
-+# (end of lua.pc)
OpenPOWER on IntegriCloud