2023-08-19 22:17:55 +02:00
|
|
|
# lua.pc -- pkg-config data for Lua
|
|
|
|
|
|
|
|
# vars from install Makefile
|
|
|
|
|
|
|
|
# grep '^V=' ../Makefile
|
|
|
|
V=%V%
|
|
|
|
# grep '^R=' ../Makefile
|
|
|
|
R=%R%
|
|
|
|
|
|
|
|
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
|
2023-09-25 21:19:27 +02:00
|
|
|
prefix= /usr
|
2023-08-19 22:17:55 +02:00
|
|
|
INSTALL_BIN= ${prefix}/bin
|
|
|
|
INSTALL_INC= ${prefix}/include
|
2023-09-25 21:19:27 +02:00
|
|
|
INSTALL_LIB= ${prefix}/lib%LIBDIRSUFFIX%
|
2023-08-19 22:17:55 +02:00
|
|
|
INSTALL_MAN= ${prefix}/man/man1
|
|
|
|
INSTALL_LMOD= ${prefix}/share/lua/${V}
|
2023-09-25 21:19:27 +02:00
|
|
|
INSTALL_CMOD= ${prefix}/lib%LIBDIRSUFFIX%/lua/${V}
|
2023-08-19 22:17:55 +02:00
|
|
|
|
|
|
|
# canonical vars
|
|
|
|
exec_prefix=${prefix}
|
2023-09-25 21:19:27 +02:00
|
|
|
libdir=${exec_prefix}/lib%LIBDIRSUFFIX%
|
2023-08-19 22:17:55 +02:00
|
|
|
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)
|