Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22682

Added Files:
        arpack.info arpack.patch 
Log Message:
New package--dependency for updated octave.

--- NEW FILE: arpack.patch ---
--- ./ARmake.inc        2007-03-29 16:08:05.000000000 +0200
+++ ./ARmake.inc        2007-03-29 16:08:15.000000000 +0200
@@ -34,6 +34,11 @@
 #
 PLAT = SUN4
 #
+#  The communication library ( need for parallel library only )
+#  Current availible platforms are: BLACS or MPI
+#
+COMMLIB       = MPI
+#
 #  %------------------------------------------------------%
 #  | The directories to find the various pieces of ARPACK |
 #  %------------------------------------------------------%
@@ -42,6 +47,8 @@
 LAPACKdir    = $(home)/LAPACK
 UTILdir      = $(home)/UTIL
 SRCdir       = $(home)/SRC
+PSRCdir      = $(home)/PARPACK/SRC/$(COMMLIB)
+PUTILdir     = $(home)/PARPACK/UTIL/$(COMMLIB)
 #
 DIRS        = $(BLASdir) $(LAPACKdir) $(UTILdir) $(SRCdir)
 #
@@ -51,17 +58,21 @@
 # | NOTE: ARPACK assumes the use of LAPACK version 2 codes.           |
 # %-------------------------------------------------------------------%
 #
-#DIRS         = $(UTILdir) $(SRCdir)
+DIRS         = $(UTILdir) $(SRCdir)
 #
 # %---------------------------------------------------%
 # | The name of the libraries to be created/linked to |
 # %---------------------------------------------------%
 #
-ARPACKLIB  = $(home)/libarpack_$(PLAT).a
-LAPACKLIB = 
+ARPACKLIB  = $(home)/libarpack.a
+PARPACKLIB = $(home)/libparpack.a
+LAPACKLIB = -framework Accelerate
 BLASLIB = 
 #
 ALIBS =  $(ARPACKLIB) $(LAPACKLIB) $(BLASLIB) 
+MPILIBS = 
+PLIBS = $(PARPACKLIB) $(ALIBS) $(MPILIBS)
+
 #
 # 
 # %---------------------------------------------------------%
@@ -101,8 +112,8 @@
 # | for your system.                        |
 # %-----------------------------------------%
 #
-FC      = f77
-FFLAGS = -O -cg89
+FC      = FINKPREFIX/bin/gfortran
+FFLAGS = -O2 -ff2c
 
 LDFLAGS = 
 CD      = cd
@@ -112,7 +123,7 @@
 LN      = ln
 LNFLAGS = -s
 
-MAKE    = /bin/make
+MAKE    = make
 
 RM      = rm
 RMFLAGS = -f
diff -rubw ARPACK.orig/ARPACK/UTIL/second.f ARPACK/UTIL/second.f
--- ./UTIL/second.f     2007-03-29 16:08:05.000000000 +0200
+++ ./UTIL/second.f     2007-03-29 16:08:15.000000000 +0200
@@ -20,15 +20,15 @@
       REAL               TARRAY( 2 )
 *     ..
 *     .. External Functions ..
-      REAL               ETIME
-      EXTERNAL           ETIME
+*      REAL               ETIME
+*      EXTERNAL           ETIME
 *     ..
 *     .. Executable Statements ..
 *
 
-      T1 = ETIME( TARRAY )
-      T  = TARRAY( 1 )
-
+*     T1 = ETIME( TARRAY )
+*      T  = TARRAY( 1 )
+      T  = 1
       RETURN
 *
 *     End of SECOND

--- NEW FILE: arpack.info ---
Package: arpack
Version: 96patched
Revision: 1
Maintainer: Alexander Hansen <a...@finkproject.org>
Description: Solve large scale eigenvalue problems
DescDetail: <<
ARPACK is a collection of Fortran77 subroutines designed to solve large scale
eigenvalue problems.
<<
Homepage: http://www.caam.rice.edu/software/ARPACK
License: BSD

Source: http://www.caam.rice.edu/software/ARPACK/SRC/arpack96.tar.gz
Source2: http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz
Source2Rename: arpack-patch.tar.gz
Source-MD5: fffaa970198b285676f4156cebc8626e 
Source2-MD5: 14830d758f195f272b8594a493501fa2
SourceDirectory: ARPACK
BuildDepends: fink (>=0.24.12), gcc44

PatchFile: %n.patch
PatchFile-MD5:  3da01c39e89e33ea51728b396966f485
PatchScript: <<
        sed -e 's|FINKPREFIX|%p|g' %{PatchFile} | patch -p1
        perl -pi -e 's|\$\(HOME\)/ARPACK|%b|' ARmake.inc
<<

CompileScript: make all
InstallScript:  <<
        install -d -v %i/lib 
        install -m 644 -v libarpack.a %i/lib
        ranlib %i/lib/libarpack.a
        install -d -v %i/share
        cp -r -v EXAMPLES %i/share
<<
DocFiles: DOCUMENTS
DescPackaging:  <<
Borrowed liberally from Macports.
Needs a gfortran; I've arbitrarily chosen gcc44, as it's going to be the
lowest-versioned one available on 10.6.
Static-only library until I, or somebody else, figures out how to make it
dynamic.
<<

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to