Package: lua50 / 5.0.3-8

pkg-config.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Author: John V. Belmonte <jbelmonte@debian.org>
Description: Add support for Debian package to makefiles.
--- /dev/null
+++ lua50-5.0.3/lua50.pc
@@ -0,0 +1,19 @@
+prefix=/usr
+exec_prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include/
+major_version=50
+version=5.0.3
+
+# 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: lua50
+Description: The Lua 5.0 programming language
+Version: ${version}
+Libs: -L${libdir} -llua50
+Cflags: -I${includedir}/lua50
+
--- /dev/null
+++ lua50-5.0.3/lualib50.pc
@@ -0,0 +1,20 @@
+prefix=/usr
+exec_prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include/
+major_version=50
+version=5.0.3
+
+# 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: lua50
+Description: The Lua 5.0 programming language addon libraries
+Version: ${version}
+Requires: lua50
+Libs: -L${libdir} -llualib50
+Cflags: -I${includedir}/lua50
+