the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: cgal4
Version: 3.5
Revision: 2
Source: http://gforge.inria.fr/frs/download.php/24197/CGAL-%v.tar.gz
Maintainer: Will M. Farr
HomePage: http://www.cgal.org/
License: OSI-Approved
Description: Efficient and reliable geometric algorithms
Source-MD5: c14d142780d07e3d05dea2f54dd7ae53
BuildDepends: cmake, boost1.35.nopython | boost1.35.python25 | boost1.35.systempython, gmp, libmpfr1
Depends: boost1.35.nopython-shlibs | boost1.35.python25-shlibs | boost1.35.systempython-shlibs, gmp-shlibs, libmpfr1-shlibs, cgal4-shlibs (= %v-%r)
GCC: 4.0
CompileScript: <<
#!/bin/sh -ev
darwin_vers=`uname -r | cut -d. -f1`
if test "$darwin_vers" = 9 ; then
export CC=gcc-4.2
export CXX=g++-4.2
test -x `which gcc-4.2` || { echo "gcc-4.2 required, but missing!"; exit 1; }
fi
cmake . -DCMAKE_INSTALL_PREFIX=%p -DCMAKE_INSTALL_NAME_DIR=%p/lib -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF -DWITH_CGAL_Qt3=NO -DWITH_CGAL_Qt4=NO
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
BuildDependsOnly: true
SplitOff: <<
Package: cgal4-shlibs
Files: lib/libCGAL.4.0.0.dylib lib/libCGAL_Core.4.0.0.dylib lib/libCGAL_ImageIO.4.0.0.dylib lib/libCGAL_PDB.4.0.0.dylib lib/libCGAL.4.dylib lib/libCGAL_Core.4.dylib lib/libCGAL_ImageIO.4.dylib lib/libCGAL_PDB.4.dylib
Shlibs: <<
%p/lib/libCGAL.4.dylib 4.0.0 cgal4-shlibs (>= 3.5-1)
%p/lib/libCGAL_Core.4.dylib 4.0.0 cgal4-shlibs (>= 3.5-1)
%p/lib/libCGAL_ImageIO.4.dylib 4.0.0 cgal4-shlibs (>= 3.5-1)
%p/lib/libCGAL_PDB.4.dylib 4.0.0 cgal4-shlibs (>= 3.5-1)
<<
<<