summaryrefslogtreecommitdiff
path: root/libraries/lua52/lua.pc
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-29 20:52:45 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:06 -0500
commit5496784ac9b321dbadd1f49356d9a6c6c958f0ae (patch)
treeb3dcefdb62671017554822c0ca7913f9fcb58657 /libraries/lua52/lua.pc
parent267173c5d3af152374a9f37b5ca96651b7b669bf (diff)
downloadslackbuilds-5496784ac9b321dbadd1f49356d9a6c6c958f0ae.tar.gz
libraries/lua52: Added (embeddable scripting language)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/lua52/lua.pc')
-rw-r--r--libraries/lua52/lua.pc31
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/lua52/lua.pc b/libraries/lua52/lua.pc
new file mode 100644
index 0000000000..7d8a1abf40
--- /dev/null
+++ b/libraries/lua52/lua.pc
@@ -0,0 +1,31 @@
+# lua.pc -- pkg-config data for Lua
+
+# vars from install Makefile
+
+# grep '^V=' ../Makefile
+V= 5.2
+# grep '^R=' ../Makefile
+R= 5.2.0
+
+# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
+prefix= /usr
+INSTALL_BIN= ${prefix}/bin
+INSTALL_INC= ${prefix}/include
+INSTALL_LIB= ${prefix}/lib
+INSTALL_MAN= ${prefix}/man/man1
+INSTALL_LMOD= ${prefix}/share/lua/${V}
+INSTALL_CMOD= ${prefix}/lib/lua/${V}
+
+# canonical vars
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Lua
+Description: An Extensible Extension Language
+Version: ${R}
+Requires:
+Libs: -L${libdir} -llua -lm
+Cflags: -I${includedir}
+
+# (end of lua.pc)