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

Added Files:
        blitz.info blitz.patch 
Log Message:
New from tracker
https://sourceforge.net/tracker/index.php?func=detail&aid=1658098&group_id=17203&atid=414256

--- NEW FILE: blitz.patch ---
diff -urN blitz-0.9/Makefile.in blitz-0.9.patched/Makefile.in
--- blitz-0.9/Makefile.in       2005-10-15 06:20:40.000000000 +0200
+++ blitz-0.9.patched/Makefile.in       2007-02-12 08:26:32.000000000 +0100
@@ -297,9 +297,9 @@
 EXTRA_DIST = LEGAL LICENSE README.binutils README-VS.NET.txt Blitz-VS.NET.zip \
        ChangeLog.1 
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = blitz.pc blitz-uninstalled.pc
-DISTCLEANFILES = blitz.pc blitz.pc.in blitz-uninstalled.pc
+pkgconfigdir = $(datadir)/pkgconfig
+pkgconfig_DATA = blitz.pc
+DISTCLEANFILES = blitz.pc blitz.pc.in
 all: all-recursive
 
 .SUFFIXES:
diff -urN blitz-0.9/examples/Makefile.fink 
blitz-0.9.patched/examples/Makefile.fink
--- blitz-0.9/examples/Makefile.fink    1970-01-01 01:00:00.000000000 +0100
+++ blitz-0.9.patched/examples/Makefile.fink    2007-02-12 08:26:54.000000000 
+0100
@@ -0,0 +1,29 @@
+
+TARGETS =  array cartesian cast cfd complex-test convolve curldiv \
+                                        deriv diff erf fixed indirect io iter 
matmult nested numinquire outer pauli \
+                                        pick polymorph prettyprint qcd rand2 
random rangexpr reduce simple \
+                                        slicing stencil2 stencil3 stencil 
stencilet storage tiny \
+                                        transform useret where whitt
+
+CXXFLAGS = `pkg-config --cflags --libs blitz`
+
+.DEFAULT: all
+
+.PHONY: all clean bin run
+
+all: bin run
+       
+bin: $(TARGETS)
+
+% : %.cpp
+       $(CXX) -o $@ $^ $(CXXFLAGS)
+
+run: bin
+       @echo Running examples...
+       @for prog in $(TARGETS); do \
+               echo $$prog && (./$$prog > /dev/null 2>&1) || exit 1; \
+       done
+       @echo All tests passed.
+
+clean:
+       rm -f $(TARGETS)

--- NEW FILE: blitz.info ---
Package: blitz
Version: 0.9
Revision: 1
Description: C++ class library for scientific computing
License: Artistic/GPL
HomePage: http://www.oonumerics.org/blitz/
Maintainer: Michael Wild <[EMAIL PROTECTED]>
Depends: pkgconfig ( >= 0.20.1 )
BuildDependsOnly: True
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 031df2816c73e2d3bd6d667bbac19eca

Patch: %n.patch
GCC: 4.0
ConfigureParams: --infodir=%p/share/info CXX=g++ --disable-dependency-tracking 
--disable-doxygen
InstallScript: <<
  # install library
  make install DESTDIR=%d
  
  # create doc dir
  mkdir -p %i/share/doc/%n/html

  # install pdf/ps docs
  mv %i/share/doc/%n-%v/*.pdf %i/share/doc/%n/
  mv %i/share/doc/%n-%v/*.ps %i/share/doc/%n/

  # install html docs in the correct dir (without doxygen)
  rm -rf %i/share/doc/%n-%v/doxygen
  find %i/share/doc/%n-%v/ -type f -name *.md5 -exec rm -f {} \;
  mv %i/share/doc/%n-%v/* %i/share/doc/%n/html/

  # install examples
  mkdir -p %i/share/doc/%n/examples
  cp -R examples/* %i/share/doc/%n/examples/
  mv %i/share/doc/%n/examples/Makefile.fink  %i/share/doc/%n/examples/Makefile
  rm -f %i/share/doc/%n/examples/Makefile.*

  # now do the cleanup of the nonstandard doc dir
  rm -rf %i/share/doc/%n-%v
<<
InfoTest: <<
  TestScript: <<
    make check-testsuite || exit 2
  <<
<<
DocFiles: README COPYING LEGAL AUTHORS ChangeLog NEWS
InfoDocs: blitz.info
DescDetail: <<
Blitz++ is a C++ class library for scientific computing
which provides performance on par with Fortran 77/90.
It uses template techniques to achieve high performance.
The current versions provide dense arrays and vectors,
random number generators, and small vectors and matrices.
DescPackaging:  doxygen docfile generation disabled
<<



-------------------------------------------------------------------------
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