mirror of
https://abf.rosa.ru/djam/lua.git
synced 2025-02-23 13:52:55 +00:00
30 lines
635 B
PkgConfig
30 lines
635 B
PkgConfig
# lua.pc -- pkg-config data for Lua
|
|
|
|
# vars from install Makefile
|
|
|
|
# grep '^V=' ../Makefile
|
|
V= @MAJOR_VERSION@
|
|
# grep '^R=' ../Makefile
|
|
R= @FULL_VERSION@
|
|
|
|
# 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}
|
|
includedir=${prefix}/include
|
|
|
|
Name: Lua
|
|
Description: An Extensible Extension Language
|
|
Version: ${R}
|
|
Requires:
|
|
Libs: -llua -lm
|
|
Cflags: -I${includedir}
|
|
|
|
# (end of lua.pc)
|