Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/languages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7147

Modified Files:
        lua.info lua.patch 
Log Message:
new version from tracker; new maintainer

Index: lua.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/languages/lua.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lua.patch   27 Apr 2005 03:25:58 -0000      1.1
+++ lua.patch   7 Sep 2005 01:43:47 -0000       1.2
@@ -1,14 +1,73 @@
---- lua-5.0/config.orig        Mon May 12 23:56:24 2003
-+++ lua-5.0/config     Mon May 12 23:56:41 2003
-@@ -108,7 +108,7 @@
- # You need an ANSI C compiler. gcc is a popular one. We do not use -ansi in
- # WARN because it disables POSIX features used in the libraries.
+diff -ru lua-5.0.2-orig/Makefile lua-5.0.2/Makefile
+--- lua-5.0.2-orig/Makefile    2004-03-12 02:50:55.000000000 +0100
++++ lua-5.0.2/Makefile 2005-09-05 23:32:09.000000000 +0200
+@@ -38,9 +38,9 @@
+ 
+ # shared libraries (for Linux)
+ so:
+-      ld -o lib/liblua.so.$V -shared src/*.o
+-      ld -o lib/liblualib.so.$V -shared src/lib/*.o
+-      cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V 
liblualib.so
++      $(CC) -dynamiclib -o lib/liblua.$V.dylib src/*.o -install_name 
@prefix@/lib/liblua.$V.dylib -current_version $V
++      $(CC) -dynamiclib -o lib/liblualib.$V.dylib src/lib/*.o 
lib/liblua.5.0.dylib -install_name @prefix@/lib/liblualib.$V.dylib 
-current_version $V
++      cd lib; ln -fs liblua.$V.dylib liblua.dylib; ln -fs liblualib.$V.dylib 
liblualib.dylib
+ 
+ # binaries using shared libraries
+ sobin:
+@@ -50,8 +50,8 @@
+ 
+ # install shared libraries
+ soinstall:
+-      $(INSTALL_EXEC) lib/*.so.* $(INSTALL_LIB)
+-      cd $(INSTALL_LIB); ln -fs liblua.so.$V liblua.so; ln -fs 
liblualib.so.$V liblualib.so
++      $(INSTALL_EXEC) lib/*.dylib $(INSTALL_LIB)
++      cd $(INSTALL_LIB); ln -fs liblua.$V.dylib liblua.dylib; ln -fs 
liblualib.$V.dylib liblualib.dylib
+ 
+ # clean shared libraries
+ soclean:
+diff -ru lua-5.0.2-orig/config lua-5.0.2/config
+--- lua-5.0.2-orig/config      2003-04-11 16:00:41.000000000 +0200
++++ lua-5.0.2/config   2005-09-05 23:30:40.000000000 +0200
+@@ -25,7 +25,7 @@
+ # interface (e.g., Linux, Solaris, IRIX, BSD, AIX, HPUX, and probably others),
+ # uncomment the next two lines.
  #
--CC= gcc
-+CC= cc
- WARN= -Wall
+-#LOADLIB= -DUSE_DLOPEN=1
++LOADLIB= -DUSE_DLOPEN=1
+ #DLLIB= -ldl
+ #
+ # In Linux with gcc, you should also uncomment the next definition for
+@@ -45,7 +45,7 @@
+ # If your system is not POSIX but has popen and pclose, define USE_POPEN=1.
+ # If you don't want to support pipes, define USE_POPEN=0.
+ #
+-#POPEN= -DUSE_POPEN=1
++POPEN= -DUSE_POPEN=1
+ #POPEN= -DUSE_POPEN=0
+ #
+ # The form below will probably work in (some) Windows systems.
+@@ -100,8 +100,8 @@
+ # to add -lreadline (and perhaps also -lhistory and -lcurses or -lncurses)
+ # to EXTRA_LIBS.
+ #
+-#USERCONF=-DLUA_USERCONFIG='"$(LUA)/etc/saconfig.c"' -DUSE_READLINE
+-#EXTRA_LIBS= -lm -ldl -lreadline # -lhistory -lcurses -lncurses
++USERCONF=-DLUA_USERCONFIG='"$(LUA)/etc/saconfig.c"' -DUSE_READLINE
++EXTRA_LIBS= -lm -ldl -lreadline # -lhistory -lcurses -lncurses
  
- # ------------------------------------------------------------------ C options
+ # ------------------------------------------------------------------ C 
compiler
+ 
+@@ -119,8 +119,8 @@
+ # debug information. If you only want the shared libraries, you may want to
+ # add -fPIC to MYCFLAGS.
+ #
+-MYCFLAGS= -O2
+-#MYCFLAGS= -O3 -fomit-frame-pointer # -fPIC
++#MYCFLAGS= -O2
++MYCFLAGS= -O3 -fomit-frame-pointer # -fPIC
+ 
+ # Write here any options you may need for your C linker.
+ #MYLDFLAGS=
 @@ -157,8 +157,8 @@
  # You may prefer to use "install" instead of "cp" if you have it.
  # If you use "install", you may also want to change the permissions after -m.
@@ -20,3 +79,15 @@
  #INSTALL_EXEC= install -m 0755
  #INSTALL_DATA= install -m 0644
  
+diff -ru lua-5.0.2-orig/src/lib/lbaselib.c lua-5.0.2/src/lib/lbaselib.c
+--- lua-5.0.2-orig/src/lib/lbaselib.c  2004-03-04 01:45:13.000000000 +0100
++++ lua-5.0.2/src/lib/lbaselib.c       2005-09-05 23:30:40.000000000 +0200
+@@ -409,7 +409,7 @@
+ #endif
+ 
+ #ifndef LUA_PATH_DEFAULT
+-#define LUA_PATH_DEFAULT      "?;?.lua"
++#define LUA_PATH_DEFAULT      
"./?;./?.lua;@prefix@/share/lua5.0/?.lua;@prefix@/share/lua5.0/?/?.lua;@prefix@/share/lua5.0/?/init.lua"
+ #endif
+ 
+ 

Index: lua.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/languages/lua.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lua.info    27 Apr 2005 03:25:58 -0000      1.1
+++ lua.info    7 Sep 2005 01:43:47 -0000       1.2
@@ -1,8 +1,8 @@
 Package: lua
-Version: 5.0
+Version: 5.0.2
 Revision: 1
-Description: Small, compilable scripting language; easy access to C code
-Patch: %n.patch
+Description: Small, compilable scripting language
+PatchScript: sed 's|@prefix@|%p|g' <%a/%n.patch | patch -p1
 DescDetail: <<
 Lua is a programming language originally designed for extending applications,
 but also frequently used as a general-purpose, stand-alone language. Lua
@@ -25,15 +25,21 @@
 simplicity, efficiency, portability, and low embedding cost. 
 <<
 License: OSI-Approved
-Source-MD5: 6f14803fad389fb1cb15d17edfeddd91
-CompileScript: make
+BuildDepends: readline
+BuildDependsOnly: false
+Source-MD5: dea74646b7e5c621fef7174df83c34b1
+CompileScript: <<
+ make
+ make so
+<<
 InstallScript: <<
  make INSTALL_ROOT=%i install
+ make INSTALL_ROOT=%i soinstall
  mkdir -p %i/share
  mv %i/man %i/share
 <<
 Homepage: http://www.lua.org/
-Maintainer: Richard Kiss <[EMAIL PROTECTED]>
+Maintainer: Jean-Louis Fuchs <[EMAIL PROTECTED]>
 Source: mirror:custom:%n-%v.tar.gz
 CustomMirror: <<
 nam-CA: ftp://csg.uwaterloo.ca/pub/lhf/lua/
@@ -43,3 +49,9 @@
 Primary: ftp://ftp.tecgraf.puc-rio.br/pub/lua/
 <<
 DocFiles: doc/logo.gif doc/lua.html doc/luac.html doc/manual.html 
doc/readme.html COPYRIGHT HISTORY INSTALL MANIFEST README
+SplitOff: <<
+  Package: lua-shlibs
+  Description: lua shared libraries
+  DocFiles: COPYRIGHT HISTORY README
+  Files: lib/liblua.5.0.dylib lib/liblualib.5.0.dylib
+<<



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to