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