projects/aports·blob master · refs

24 lines · 609 B

1# lua.pc -- pkg-config data for Lua
2
3# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
4prefix=/usr
5INSTALL_BIN=${prefix}/bin
6INSTALL_INC=${prefix}/include
7INSTALL_LIB=${prefix}/lib
8INSTALL_MAN=${prefix}/man/man1
9INSTALL_LMOD=${prefix}/share/lua/@MAJOR_VER@
10INSTALL_CMOD=${prefix}/lib/lua/@MAJOR_VER@
11
12# canonical vars
13exec_prefix=${prefix}
14libdir=${exec_prefix}/lib/lua@MAJOR_VER@
15includedir=${prefix}/include/lua@MAJOR_VER@
16
17Name: Lua
18Description: An Extensible Extension Language
19Version: @MINOR_VER@
20Requires:
21Libs: -L${libdir} -llua -lm
22Cflags: -I${includedir}
23
24# (end of lua@[email protected])