Update of /cvsroot/fink/experimental/alexkhansen/common/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv20165/common/finkinfo/sci
Modified Files:
qrupdate.info
Log Message:
Incorporate fangism's changes
Index: qrupdate.info
===================================================================
RCS file:
/cvsroot/fink/experimental/alexkhansen/common/finkinfo/sci/qrupdate.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- qrupdate.info 24 Aug 2011 13:40:23 -0000 1.1
+++ qrupdate.info 25 Aug 2011 21:43:04 -0000 1.2
@@ -2,11 +2,11 @@
Package: qrupdate%type_pkg[-shlibs]
Type: -shlibs (-shlibs)
Version: 1.1.1
-Revision: 0.05
+Revision: 0.06
Source: mirror:sourceforge:%{Ni}/1.1/%{Ni}-%v.tar.gz
Source-MD5: 7782c7ee6c234e56a72d6b86c1856fa0
Description: QR and Cholesky decomposition library
-DescDetail: qrupdate is a Fortran library for fast updates of QR and Cholesky
decompositions.
+DescDetail: qrupdate is a Fortran library for fast updates of QR, Cholesky
decompositions.
Descusage: This package contains a shared library.
DescPackaging: <<
Abuse Type so that we can use %Ni instead of "qrupdate".
@@ -19,17 +19,30 @@
Maintainer: Alexander Hansen <[email protected]>
License: GPL
-BuildDepends: gcc46
+BuildDepends: gcc46-compiler
Depends: gcc46-shlibs
BuildDependsOnly: false
PatchScript: <<
- perl -pi -e 's|/usr/local|%p|g' Makeconf
- perl -pi -e 's|install -D|install|g' src/Makefile
+ #!/bin/sh -ev
+ sed -i.orig -e 's|/usr/local|%p|g' \
+ -e '/FC/s|gfortran|&-fsf-4.6|' \
+ Makeconf
+ sed -i.orig -e 's|install -D|install|g' src/Makefile
+ # recursive parallel Makefiles please -- fangism
+ sed -i.orig -e '/make -C/s|make|+&|' Makefile
+ darwin_vers=`uname -r | cut -d. -f1`
+ if [ $darwin_vers = 8 -o $darwin_vers = 9 ]
+ then
+ sed -i.orig2 -e '/BLAS=/i\
+ATLAS_HOME=/Developer/SDKs/MacOSX10.4u.sdk/usr\
+LDFLAGS=-L$(ATLAS_HOME)/lib' Makeconf
+ sed -i.orig -e '/FFLAGS.*LIBS/s|(FFLAGS)|& $(LDFLAGS)|' test/Makefile
+ fi
<<
CompileScript: <<
- make solib
+ make solib && make lib
<<
InfoTest: <<
@@ -38,7 +51,7 @@
InstallScript: <<
mkdir -p %i/lib
- make -j1 install DESTDIR=%d
+ make -j1 install-shlib install-staticlib DESTDIR=%d
<<
Shlibs: %p/lib/libqrupdate.1.dylib 0.0.0 %n (>= 1.1.1-1)
@@ -50,8 +63,8 @@
Files: lib/*a lib/lib%{Ni}.dylib
DocFiles: COPYING README
DescUsage: <<
- This package contains a static library, libtool archive, and
+ This package contains a static library, header, and
unversioned dylib.
<<
<<
-<<
\ No newline at end of file
+<<
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs