the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gmsh2.5.0-shlibs
Version: 2.5.0
Revision: 5
Depends: <<
fltk13-aqua-shlibs,
gmp5-shlibs,
libjpeg8-shlibs,
libpng14-shlibs,
lua51-shlibs,
libncurses5-shlibs,
readline5-shlibs
<<
BuildDepends: <<
cmake,
fltk13-aqua,
gmp5,
libjpeg8,
libpng14,
lua51-dev,
libncurses5,
readline5
<<
Source: http://www.geuz.org/gmsh/src/gmsh-%v-source.tgz
Source-MD5: afa48c0296dba08641bc6312b0ccabf5
SourceDirectory: gmsh-%v-source
GCC: 4.0
PatchFile: gmsh.patch
PatchFile-MD5: 8cc25ef1248f37664023e3e511cd10d5
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 ..
make verbose=1 shared
<<
InstallScript: <<
#!/bin/sh -ev
cd build
make install
cd %d
# clear out stuff that gets installed in the 'gmsh' package or that we
# don't want
rm -rf *.txt demos gmsh.1 tutorial MacOS
cd %i
rm -rf *.icns bin share
# fix library up
cd lib
mv libGmsh.dylib libGmsh.%v.dylib
ln -s libGmsh.%v.dylib libGmsh.dylib
install_name_tool -id %p/lib/libGmsh.%v.dylib libGmsh.%v.dylib
<<
Shlibs: %p/lib/libGmsh.%v.dylib 0.0.0 %n (>=2.5.0-2)
DocFiles: doc/*.txt doc/gmsh.html
Homepage: http://www.geuz.org/gmsh
Maintainer: Alexander Hansen
License: GPL/LGPL
Description: 3D finite element mesh generator
DescDetail: <<
Gmsh is an automatic 3D finite element mesh generator (primarily
Delaunay) with build-in CAD and post-processing facilities. Its
design goal is to provide a simple meshing tool for academic test
cases with parametric input and up to date visualization
capabilities.
Gmsh is built around four modules: geometry, mesh, solver and
post-processing. The specification of any input to these modules is
done either interactively using the graphical user interface or in
ASCII text files using Gmsh's own scripting language.
See Gmsh's reference manual for a more thorough overview of Gmsh's
capabilities.
<<
DescUsage: <<
This package contains a shared library.
<<
DescPackaging: <<
Oddly enough, clang complains about a void function with a return
value :-) so we patch that.
Create a versioned dylib so that the -shlibs can coexist--given the
lack of compatibility_version, it's hard to say whether different
%v will be ABI-comptible without inspection.
As of Revision 3: don't install in a private location anymore,
since that's a bit excessive for a new package with one library.
Uses Veclib for BLAS. It appears not to use Fink's ATLAS even when that's
installed, so no -atlas variant currently.
There appears to be something awry in gmsh-2.5.0-source/contrib/gmm/gmm_interface.h .
clang from Xcode 4.3 decided that there was an error, and by inspection there
appears indeed to be one. I implemented a patch which seemed to be correct in
context.
This file is currently still unchanged in upstream's SVN.
<<
Splitoff: <<
Package: gmsh2.5.0-dev
Depends: %N
Files: <<
include
lib/libGmsh.dylib
<<
BuildDependsOnly: true
DocFiles: doc/*.txt doc/gmsh.html
DescUsage: <<
This package contains build-time files (headers and unversioned dylib).
<<
<<