summaryrefslogtreecommitdiff
path: root/lua5.1.pc
diff options
context:
space:
mode:
Diffstat (limited to 'lua5.1.pc')
-rw-r--r--lua5.1.pc24
1 files changed, 24 insertions, 0 deletions
diff --git a/lua5.1.pc b/lua5.1.pc
new file mode 100644
index 0000000..3a6122a
--- /dev/null
+++ b/lua5.1.pc
@@ -0,0 +1,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}