2018-03-27 10:16:30 +02:00
|
|
|
# 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:
|
2018-03-31 10:28:21 +02:00
|
|
|
Libs: -L${libdir} -llua${V} -lm
|
2018-03-27 10:16:30 +02:00
|
|
|
Cflags: -I${includedir}
|
|
|
|
|
|
|
|
# (end of lua.pc)
|