diff options
author | Azure Zanculmarktum <zanculmarktum@gmail.com> | 2018-03-27 15:14:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-31 07:41:38 +0700 |
commit | ce7e1d43e4286bdc8a6d49e7a7c102e72a37868d (patch) | |
tree | 159a0908caa74e40bf2f0be4504012524cc1813e /development/lua52/lua.pc.in | |
parent | 40c8f28364f1191c9448f175894b5b0695f6b831 (diff) |
development/lua52: Added (scripting language).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/lua52/lua.pc.in')
-rw-r--r-- | development/lua52/lua.pc.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/development/lua52/lua.pc.in b/development/lua52/lua.pc.in new file mode 100644 index 0000000000000..07e2852b0a739 --- /dev/null +++ b/development/lua52/lua.pc.in @@ -0,0 +1,31 @@ +# lua.pc -- pkg-config data for Lua + +# vars from install Makefile + +# grep '^V=' ../Makefile +V= 5.1 +# grep '^R=' ../Makefile +R= 5.1.5 + +# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/' +prefix= /usr/local +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) |