summaryrefslogtreecommitdiff
path: root/lua5.1.pc
blob: 3a6122a0e0583a83ff8fabbfa633ed3c86ac8a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
prefix=/usr
major_version=5.1
version=5.1.5

lib_name=lua${major_version}
libdir=${prefix}/lib
includedir=${prefix}/include

#
# The following are intended to be used via "pkg-config --variable".

# Install paths for Lua modules.  For example, if a package wants to install
# Lua source modules to the /usr/local tree, call pkg-config with
# "--define-variable=prefix=/usr/local" and "--variable=INSTALL_LMOD".
INSTALL_LMOD=${prefix}/share/lua/${major_version}
INSTALL_CMOD=${prefix}/lib/lua/${major_version}

Name: Lua
Description: Lua language engine
Version: ${version}
Requires:
Libs: -L${libdir} -l${lib_name}
Libs.private: -lm -ldl
Cflags: -I${includedir}/${lib_name_include}