summaryrefslogtreecommitdiff
path: root/lang/lua54/files
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-30 13:16:14 +0000
committernia <nia@pkgsrc.org>2020-06-30 13:16:14 +0000
commitf8e4b1f05c625d8325f19c3df7d41701c3f4c51e (patch)
tree1215accc58f0e496de095c4d9f1e493d5eaf40f2 /lang/lua54/files
parent8f196b411240b5dd6ba6b6373b7c0064a4d0890f (diff)
downloadpkgsrc-f8e4b1f05c625d8325f19c3df7d41701c3f4c51e.tar.gz
lang: Add lua54.
Note: this is slightly different than other Lua packages and, among other things, implements its own install target. This is becuase I wanted to minimize the amount of patching to Makefiles to make it fit into the pkgsrc world. Lua is a powerful, fast, lightweight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping. This version is a preferred choice for new Lua modules.
Diffstat (limited to 'lang/lua54/files')
-rw-r--r--lang/lua54/files/lua.pc.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/lua54/files/lua.pc.in b/lang/lua54/files/lua.pc.in
new file mode 100644
index 00000000000..5eb471137c1
--- /dev/null
+++ b/lang/lua54/files/lua.pc.in
@@ -0,0 +1,21 @@
+# $NetBSD: lua.pc.in,v 1.1 2020/06/30 13:16:14 nia Exp $
+# lua.pc is not any longer distributed, but is still required by other packages.
+
+prefix= @PREFIX@
+INSTALL_BIN= ${prefix}/bin
+INSTALL_INC= ${prefix}/include
+INSTALL_LIB= ${prefix}/lib
+INSTALL_MAN= ${prefix}/man/man1
+INSTALL_LMOD= ${prefix}/share/lua/@VER@
+INSTALL_CMOD= ${prefix}/lib/lua/@VER@
+
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include/lua-5.4
+
+Name: Lua
+Description: An Extensible Extension Language
+Version: @REV@
+Requires:
+Libs: -L${libdir} -llua5.4 -lm
+Cflags: -I${includedir}