[Lunar-commits] <moonbase> lua: adding a patch for x86_64 so lua will create a .so. This was prompted by vlc make crapping out because there is no liblua.so. There is a long lua thread about shared libs.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Sun Feb 22 21:55:54 CET 2009


commit b0811f4395fa58142d580bdfd5e34bbe3c793f97
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Sun Feb 22 15:55:54 2009 -0500

    lua: adding a patch for x86_64 so lua will create a .so. This was prompted by
    vlc make crapping out because there is no liblua.so. There is a long lua
    thread about shared libs.
---
 compilers/lua/BUILD.x86_64   |   14 ++++++++++++++
 compilers/lua/DETAILS.x86_64 |   24 ++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/compilers/lua/BUILD.x86_64 b/compilers/lua/BUILD.x86_64
new file mode 100644
index 0000000..e20db74
--- /dev/null
+++ b/compilers/lua/BUILD.x86_64
@@ -0,0 +1,14 @@
+(
+
+  patch_it $SOURCE_CACHE/$SOURCE2 0      &&
+
+  sedit "s:/usr/local:/usr:" Makefile    &&
+  sedit "s:/usr/local:/usr:" etc/lua.pc  &&
+
+  make linux      &&
+  prepare_install &&
+  make install    &&
+
+  install -D $SOURCE_DIRECTORY/etc/lua.pc /usr/lib/pkgconfig/lua.pc
+
+) > $C_FIFO 2>&1
diff --git a/compilers/lua/DETAILS.x86_64 b/compilers/lua/DETAILS.x86_64
new file mode 100644
index 0000000..0f2a4fb
--- /dev/null
+++ b/compilers/lua/DETAILS.x86_64
@@ -0,0 +1,24 @@
+          MODULE=lua
+         VERSION=5.1.4
+          SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=lua-5.1.4-make-shared-lib.patch
+      SOURCE_URL=http://www.lua.org/ftp/
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:2b11c8e60306efb7f0734b747588f57995493db7
+     SOURCE2_VFY=sha1:121262e8d14de06157ae438afff41e6657cc648b
+        WEB_SITE=http://www.lua.org/
+         ENTERED=20040429
+         UPDATED=20081012
+           SHORT="light-weight programming language for extending applications"
+
+cat << EOF
+Lua is a powerful light-weight programming language designed
+for extending applications. Lua is also frequently used as a
+general-purpose, stand-alone language. Lua is free software.
+
+Lua is a language engine that you can embed into your application. This
+means that, besides syntax and semantics, Lua has an API that allows
+the application to exchange data with Lua programs and also to extend
+Lua with C functions. In this sense, Lua can be regarded as a language
+framework for building domain-specific languages.
+EOF


More information about the Lunar-commits mailing list