[Lunar-commits] <moonbase> lua: add /usr tree to lua path & cpath so it can find 3rd party libs

Auke Kok sofar at foo-projects.org
Mon Jun 13 02:13:28 CEST 2011


commit afb7aba25a57b4a02163d08255575535d806f471
Author: Tim Petschauer <tpetschauer at gmx.net>
Date:   Mon Jun 13 02:13:28 2011 +0200

    lua: add /usr tree to lua path & cpath so it can find 3rd party libs
---
 compilers/lua/BUILD          |    2 ++
 compilers/lua/BUILD.x86_64   |    1 +
 compilers/lua/DETAILS        |    5 ++++-
 compilers/lua/DETAILS.x86_64 |    5 ++++-
 4 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/compilers/lua/BUILD b/compilers/lua/BUILD
index 77c73b7..4b24b56 100644
--- a/compilers/lua/BUILD
+++ b/compilers/lua/BUILD
@@ -1,5 +1,7 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1      &&
+
   sedit "s:/usr/local:/usr:" Makefile    &&
   sedit "s:/usr/local:/usr:" etc/lua.pc  &&
 
diff --git a/compilers/lua/BUILD.x86_64 b/compilers/lua/BUILD.x86_64
index e20db74..0e23883 100644
--- a/compilers/lua/BUILD.x86_64
+++ b/compilers/lua/BUILD.x86_64
@@ -1,6 +1,7 @@
 (
 
   patch_it $SOURCE_CACHE/$SOURCE2 0      &&
+  patch_it $SOURCE_CACHE/$SOURCE3 1      &&
 
   sedit "s:/usr/local:/usr:" Makefile    &&
   sedit "s:/usr/local:/usr:" etc/lua.pc  &&
diff --git a/compilers/lua/DETAILS b/compilers/lua/DETAILS
index fe9064d..19b2862 100644
--- a/compilers/lua/DETAILS
+++ b/compilers/lua/DETAILS
@@ -1,11 +1,14 @@
           MODULE=lua
          VERSION=5.1.4
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=lua-5.1-module_paths.patch
       SOURCE_URL=http://www.lua.org/ftp/
+     SOURCE2_URL=http://ie.archive.ubuntu.com/gentoo-portage/dev-lang/lua/files/
       SOURCE_VFY=sha1:2b11c8e60306efb7f0734b747588f57995493db7
+     SOURCE2_VFY=sha1:50cb1438b7c50536ebf712d16d153eac40599562
         WEB_SITE=http://www.lua.org/
          ENTERED=20040429
-         UPDATED=20081012
+         UPDATED=20110530
            SHORT="light-weight programming language for extending applications"
 
 cat << EOF
diff --git a/compilers/lua/DETAILS.x86_64 b/compilers/lua/DETAILS.x86_64
index 0f2a4fb..464588f 100644
--- a/compilers/lua/DETAILS.x86_64
+++ b/compilers/lua/DETAILS.x86_64
@@ -2,13 +2,16 @@
          VERSION=5.1.4
           SOURCE=$MODULE-$VERSION.tar.gz
          SOURCE2=lua-5.1.4-make-shared-lib.patch
+         SOURCE3=lua-5.1-module_paths.patch
       SOURCE_URL=http://www.lua.org/ftp/
      SOURCE2_URL=$PATCH_URL
+     SOURCE3_URL=http://ie.archive.ubuntu.com/gentoo-portage/dev-lang/lua/files/
       SOURCE_VFY=sha1:2b11c8e60306efb7f0734b747588f57995493db7
      SOURCE2_VFY=sha1:121262e8d14de06157ae438afff41e6657cc648b
+     SOURCE3_VFY=sha1:50cb1438b7c50536ebf712d16d153eac40599562
         WEB_SITE=http://www.lua.org/
          ENTERED=20040429
-         UPDATED=20081012
+         UPDATED=20110530
            SHORT="light-weight programming language for extending applications"
 
 cat << EOF


More information about the Lunar-commits mailing list