Ticket #32590: lua.pc

File lua.pc, 657 bytes (added by andremm@…, 13 years ago)
Line 
1# lua.pc -- pkg-config data for Lua
2
3# vars from install Makefile
4
5# grep '^V=' ../Makefile
6V= 5.2
7# grep '^R=' ../Makefile
8R= 5.2.0
9
10# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
11prefix= /opt/local
12INSTALL_BIN= ${prefix}/bin
13INSTALL_INC= ${prefix}/include
14INSTALL_LIB= ${prefix}/lib
15INSTALL_MAN= ${prefix}/man/man1
16INSTALL_LMOD= ${prefix}/share/lua/${V}
17INSTALL_CMOD= ${prefix}/lib/lua/${V}
18
19# canonical vars
20exec_prefix=${prefix}
21libdir=${exec_prefix}/lib
22includedir=${prefix}/include
23
24Name: Lua
25Description: An Extensible Extension Language
26Version: ${R}
27Requires:
28Libs: -L${libdir} -llua -lm
29Cflags: -I${includedir}
30
31# (end of lua.pc)