Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv7607

Modified Files:
        lpsolve.info lpsolve-extra.info 
Log Message:
use veclib

Index: lpsolve-extra.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/lpsolve-extra.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- lpsolve-extra.info  12 Feb 2007 17:40:44 -0000      1.3
+++ lpsolve-extra.info  16 Feb 2007 16:02:16 -0000      1.4
@@ -2,7 +2,7 @@
 Package: lpsolve-extra
 Description: External Language Interfaces for lpsolve
 Version: 5.5.0.10
-Revision: 2
+Revision: 3
 # rev-up and adapt next line when version-increases of lpsolve or glpk
 Type: glpk (4.13), maj (5.5)
 
@@ -46,7 +46,7 @@
   # One could use the lpsolve headers by adding in the beginning of the above 
perl cmd the subs :
   # "s:\.\./\.\.:%p/include/lpsolve:g; " , but we have anyway to re-expand the 
lpsolve source for the .c files (cf supra).
   # One could also add -llpsolve in the link line, and remove from $src all 
"%p/include/lpsolve/..."
-  # _ so we would no longer need the lpsolve source, but afraid of compilation 
under different -D's. 
+  # _ so we would no longer need the lpsolve source, but afraid of compilation 
under different -D's.
 #### glpk
 # linking with glpk no longer works sine v. 4.14 .. (though for the bfp, the 
next 2 lines would suffice ..):
 # accomodate changes in glpk 4.14
@@ -68,6 +68,16 @@
 \1if(strrchr(\2,'/') != NULL) finklib[0]=0;
 \1strcat(finklib,\2);:;
         s:(dlopen\().*name:\1finklib:" lp_lib.c
+# Use vecLib :
+  sed -i.bak -e 
's,myBLAS,/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib,'
 lp_lib.h
+  sed -i.bak -e '/WIN32/,/endif/{
+       /WIN32/d
+       /endif/d
+       }' bfp/bfp_LUSOL/lp_LUSOL.h
+ sed -i.bak -e '/3, "\.so"/,+1{
+       s,3,6,
+       s,so,dylib,
+       }' {shared,bfp/bfp_LUSOL/LUSOL}/commonlib.c shared/myblas.c
 # make the .bat scripts usable
   sed -ri -e 's,^del,rm,' -e 's,\r$,,' lp_rlp.bat */*/*.bat
 <<
@@ -87,7 +97,7 @@
   # bundles
   mkdir -p %i/lib
   cp -p */*/*.so %i/lib
-  chmod 644 %i/lib/*  
+  chmod 644 %i/lib/*
   # Headers
   for d in bfp xli; do \
        cd $d

Index: lpsolve.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/lpsolve.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- lpsolve.info        7 Feb 2007 03:22:40 -0000       1.5
+++ lpsolve.info        16 Feb 2007 16:02:16 -0000      1.6
@@ -3,7 +3,7 @@
 Description: Mixed Integer Linear Programming (ILP) solver
 Type: maj (5.5)
 Version: 5.5.0.10
-Revision: 1
+Revision: 2
 
 BuildDepends: sed | ssed, bison, flex
 Depends: %N%type_raw[maj]-shlibs (= %v-%r)
@@ -33,7 +33,17 @@
 \1if(strrchr(\2,'/') != NULL) finklib[0]=0;
 \1strcat(finklib,\2);:;
        s:(dlopen\().*name:\1finklib:" lp_lib.c
-# make the .bat script useable
+# Use vecLib :
+ sed -i.bak -e 
's,myBLAS,/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib,'
 lp_lib.h
+ sed -i.bak -e '/WIN32/,/endif/{
+       /WIN32/d
+       /endif/d
+       }' bfp/bfp_LUSOL/lp_LUSOL.h
+ sed -i.bak -e '/3, "\.so"/,+1{
+       s,3,6,
+       s,so,dylib,
+       }' {shared,bfp/bfp_LUSOL/LUSOL}/commonlib.c shared/myblas.c
+# make the .bat script usable
   sed -ri -e 's,^del,rm,' -e 's,\r$,,' lp_rlp.bat
 <<
 
@@ -104,7 +114,7 @@
   InstallScript: <<
     # link the doc files:
     mkdir -p %i/share/doc
-    ln -s %N%type_raw[maj]-shlibs %i/share/doc/%n  
+    ln -s %N%type_raw[maj]-shlibs %i/share/doc/%n
   <<
 <<
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to