Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv11912/10.7/stable/main/finkinfo/sci

Modified Files:
        gmsh.info 
Log Message:
Better packaging.  Thanks to Nicholas Taylor for a patch.
sync 10.7 stable <-> 10.4 stable

Index: gmsh.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/gmsh.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gmsh.info   25 Sep 2011 15:49:56 -0000      1.2
+++ gmsh.info   9 Oct 2011 23:02:31 -0000       1.3
@@ -1,10 +1,9 @@
 Package: gmsh
 Version: 2.5.0
-Revision: 1
+Revision: 2
 Depends: <<
        fltk13-aqua-shlibs,
        gmp5-shlibs,
-       gsl-shlibs,
        libjpeg8-shlibs, 
        libpng14-shlibs,
        lua51-shlibs,
@@ -15,7 +14,6 @@
        cmake,
        fltk13-aqua,
        gmp5,
-       gsl, 
        libjpeg8, 
        libpng14,
        lua51-dev,
@@ -28,13 +26,20 @@
 
 GCC: 4.0
 
-PatchScript: perl -pi -e 's|(void.*return)\s0\.|$1|g' 
Solver/linearSystemPETSc.h
+PatchFile: %n.patch
+PatchFile-MD5: 7f182d37191ac18d2a75134246049dcb
+PatchScript: <<
+%{default_script}
+perl -pi -e 's|(void.*return)\s0\.|$1|g' Solver/linearSystemPETSc.h
+<<
+
+UseMaxBuildJobs: false
 
 CompileScript: <<
 #!/bin/sh -ev
 mkdir build
 cd build
-cmake -DCMAKE_PREFIX_PATH=%p -DCMAKE_INSTALL_PREFIX=%i ..
+cmake  -DCMAKE_PREFIX_PATH=%p -DCMAKE_INSTALL_PREFIX=%i 
-DCMAKE_OSX_ARCHITECTURES=%m ..
 make verbose=1
 make verbose=1 html
 make verbose=1 info
@@ -43,18 +48,21 @@
 
 InstallScript: <<
 #!/bin/sh -ev
-mkdir %i/bin
-cp build/%n %i/bin
-mkdir -p %i/share/man/man1/
-mv doc/%n.1 %i/share/man/man1/
+pushd build
+make install
+popd
+# put texinfo file in proper location for Fink
 mkdir -p %i/share/info
-mv doc/texinfo/%n.info %i/share/info/
+cp doc/texinfo/%n.info %i/share/info/
+# clear out include directory since there's nothing to build
+# against in this package
+rm -rf %i/include
 <<
 
 DocFiles: doc/
 InfoDocs: %n.info
 Homepage: http://www.geuz.org/gmsh
-Maintainer: Jack Fink <[email protected]>
+Maintainer: Alexander Hansen <[email protected]>
 
 License: GPL/LGPL
 Description: 3D finite element mesh generator
@@ -73,13 +81,20 @@
  See Gmsh's reference manual for a more thorough overview of Gmsh's 
  capabilities.
 <<
+DescUsage: <<
+This package contains the '%n' executable and documentation, including demos
+and tutorial.
+<<
 DescPackaging: <<
-       The package currently builds an executable and documentation.
-       
+       Executable is built statically from the object files directly, rather 
than
+       via libraries, so there is no dependency on gmshX.Y.Z-shlibs.
+
        Oddly enough, clang complains about a void function with a return
        value :-) so we patch that.
-       
-       Upstream notes that "make install" is broken for OS X, currently,
-       so we move files around manually.
-       
+
+       As of 2.5.0-2:  patch to install docs and executable in proper locations
+       using "make install".  Thanks to Nicholas Taylor for the patch.
+
+       Uses Veclib for BLAS.  It appears not to use Fink's ATLAS even when 
that's 
+       installed, so no -atlas variant currently.
 <<
\ No newline at end of file


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to