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

Added Files:
        suitesparse.info suitesparse.patch 
Log Message:
New from tracker http://sourceforge.net/tracker/?group_id=17203&atid=414256

--- NEW FILE: suitesparse.info ---
Package: suitesparse
Version: 3.0.0
Revision: 1
Source: 
http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-%v.tar.gz
Source-MD5: 4eecd769cf236be413699b2984c39f97
SourceDirectory: SuiteSparse
Patch: %n.patch
PatchScript: sed -i.bak -e 's,^CFLAGS = -O,&3 -fstrict-aliasing,' 
C{,X}Sparse/Lib/Makefile
CompileScript: <<
#! /bin/sh -ev
# Compile SuiteSparse without METIS.
export METIS_PREFIX=
export CHOLMOD_CONFIG='-DNPARTITION'
echo **** Start: Message from SuiteSparse CompileScript ****
echo Compiling SuiteSparse WITHOUT METIS
echo METIS_PREFIX = $METIS_PREFIX
echo CHOLMOD_CONFIG = $CHOLMOD_CONFIG
echo **** Stop: Message from SuiteSparse CompileScript ****
make default
<<
InstallScript: <<
#! /bin/sh -ev

install -d %i/lib
find . -name 'lib*.a' -exec install -m 644 \{\} %i/lib \;
rm %i/lib/libcsparse.a
ranlib %i/lib/lib*.a

install -d %i/include/%N
install -p -m 644 \
        `find . -name '*.h'|egrep -v 
'^\./(CSparse/|CXSparse_n|UMFPACK/Source/)|/(MATLAB|Demo|Tcov)/|_(internal|version)\.h$'`
 \
        %i/include/%N

for f in `ls -1 {,*/,CHOLMOD/*/}*.txt|egrep -v '_newfiles|MATLAB'|sed -e 
's,^,./,' -e 's,/[^/]*$,,'|sort -u`
        do install -d %i/share/doc/%n/$f; install -p -m 644 $f/*.txt 
%i/share/doc/%n/$f; done
for f in `ls -1d */Doc|fgrep -v _newfiles|sed -e 's,/[^/]*$,,'`
        do install -d %i/share/doc/%n/$f; install -p -m 644 $f/Doc/* 
%i/share/doc/%n/$f; done

cd %i/share/doc/%n
# replace duplicates by symlinks
for n in lesser gpl; do
        l=`ls -1 {,*/}*/$n.txt`
        target=`tail -n1<<<"$l"`
        list=`sed -e '$d'<<<"$l"`
        for f in $list; do g=`sed -e 's,[^/]\+,..,g' -e 's,\.\.$,,' <<<"$f"`; 
ln -fs $g$target $f; done
done
# clean up
find .  \( -name Makefile \
        -o -name '*.bib' -o -name '*.tex' -o -name '*.stex' -o -name '*.sed*' 
-o -name '*.awk' -o -name '*diff' -o -name '*proto' \
        \) -exec rm \{\} \;
cd -
<<
Description: Suite of Sparse matrix packages
License: GPL/LGPL
Maintainer: Ben Abbott <[EMAIL PROTECTED]>
Homepage: http://www.cise.ufl.edu/research/sparse/SuiteSparse/

--- NEW FILE: suitesparse.patch ---
Package: suitesparse
Version: 3.0.0
Revision: 1
Source: 
http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-%v.tar.gz
Source-MD5: 4eecd769cf236be413699b2984c39f97
SourceDirectory: SuiteSparse
Patch: %n.patch
PatchScript: sed -i.bak -e 's,^CFLAGS = -O,&3 -fstrict-aliasing,' 
C{,X}Sparse/Lib/Makefile
CompileScript: <<
#! /bin/sh -ev
# Compile SuiteSparse without METIS.
export METIS_PREFIX=
export CHOLMOD_CONFIG='-DNPARTITION'
echo **** Start: Message from SuiteSparse CompileScript ****
echo Compiling SuiteSparse WITHOUT METIS
echo METIS_PREFIX = $METIS_PREFIX
echo CHOLMOD_CONFIG = $CHOLMOD_CONFIG
echo **** Stop: Message from SuiteSparse CompileScript ****
make default
<<
InstallScript: <<
#! /bin/sh -ev

install -d %i/lib
find . -name 'lib*.a' -exec install -m 644 \{\} %i/lib \;
rm %i/lib/libcsparse.a
ranlib %i/lib/lib*.a

install -d %i/include/%N
install -p -m 644 \
        `find . -name '*.h'|egrep -v 
'^\./(CSparse/|CXSparse_n|UMFPACK/Source/)|/(MATLAB|Demo|Tcov)/|_(internal|version)\.h$'`
 \
        %i/include/%N

for f in `ls -1 {,*/,CHOLMOD/*/}*.txt|egrep -v '_newfiles|MATLAB'|sed -e 
's,^,./,' -e 's,/[^/]*$,,'|sort -u`
        do install -d %i/share/doc/%n/$f; install -p -m 644 $f/*.txt 
%i/share/doc/%n/$f; done
for f in `ls -1d */Doc|fgrep -v _newfiles|sed -e 's,/[^/]*$,,'`
        do install -d %i/share/doc/%n/$f; install -p -m 644 $f/Doc/* 
%i/share/doc/%n/$f; done

cd %i/share/doc/%n
# replace duplicates by symlinks
for n in lesser gpl; do
        l=`ls -1 {,*/}*/$n.txt`
        target=`tail -n1<<<"$l"`
        list=`sed -e '$d'<<<"$l"`
        for f in $list; do g=`sed -e 's,[^/]\+,..,g' -e 's,\.\.$,,' <<<"$f"`; 
ln -fs $g$target $f; done
done
# clean up
find .  \( -name Makefile \
        -o -name '*.bib' -o -name '*.tex' -o -name '*.stex' -o -name '*.sed*' 
-o -name '*.awk' -o -name '*diff' -o -name '*proto' \
        \) -exec rm \{\} \;
cd -
<<
Description: Suite of Sparse matrix packages
License: GPL/LGPL
Maintainer: Ben Abbott <[EMAIL PROTECTED]>
Homepage: http://www.cise.ufl.edu/research/sparse/SuiteSparse/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to