Info2: << Package: hdf5.7-oldapi-gfortran Version: 1.8.10-patch1 Revision: 5 Type: gcc (4.8) Source: ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-%v.tar.gz Source-MD5: 2147a289fb33c887464ad2b6c5a8ae4c Description: HDF5 (v1.6 API)--static FORTRAN libraries DescDetail: << It was designed to address some of the limitations of the HDF 4.x library and to address current and anticipated requirements of modern systems and applications. The fortran9X interface is built using gfortran. It will only work with gfortran. Fink's "%N*" packages are intended to replace the corresponding ones from "hdf5-18*". << DescUsage: << To build against %N instead of hdf5-gfortran, you will need to make sure that the headers in %p/opt/hdf5v1.6/include and the libraries in %p/opt/hdf5v1.6/lib are found. Some packages use a configure flag to target the hdf5 tree, i.e.: --with-hdf5=%p/opt, but you may need to set CPPFLAGS, LDFLAGS, etc. for your package. << DescPackaging: << Build separately from the rest of hdf5.7-oldapi so that people who don't need the FORTRAN libs don't have to build gcc4N. Builds _all_ of HDF5 and then strips out the C and C++ libs, as well as anything that is also in the hdf5.7-oldapi package. Buildepends on fink (>= 0.34.8) since that's when we introduced a clang compiler wrapper. << Conflicts: << hdf5, hdf5-18-gfortran, hdf5.7-gfortran, hdf5.8-gfortran, hdf5.8-oldapi-gfortran << Replaces: << hdf5, hdf5-18-gfortran, hdf5.7-gfortran, hdf5.8-gfortran, hdf5.8-oldapi-gfortran << BuildDepends: << gcc%type_pkg[gcc]-compiler, szip (>= 2.0-2), fink-package-precedence, fink (>= 0.34.8) << BuildDependsOnly: true PatchScript: << perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure cp config/apple config/i686-apple cp config/apple config/powerpc-apple # obsolete use of sort perl -pi -e 's,sort \+2,sort -k 2,' bin/ltmain.sh << ConfigureParams: << --enable-fortran --enable-fortran2003 \ --with-zlib --without-mpe --with-szlib --without-pthread \ --disable-parallel --disable-shared --with-default-api-version=v16 \ --libdir=%p/opt/hdf5v1.6/lib --includedir=%p/opt/hdf5v1.6/include << License: OSI-Approved InfoTest: << TestScript: make -j1 check || exit 2 TestSuiteSize: large << CompileScript: << #!/bin/sh -ev # special-case for 10.6; check whether compiler is llvm-gcc if [[ -n `gcc --version | grep llvm-g` ]] then export CXX=clang++ export CC=clang fi export F9X=%p/bin/gfortran-fsf-%type_raw[gcc] %{default_script} fink-package-precedence . << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d # remove executables rm -rf %i/bin # remove headers which are installed by hdf5.7 pushd %i/opt/hdf5v1.6/include rm H5ACpublic.h rm H5Apublic.h rm H5Cpublic.h rm H5DSpublic.h rm H5Dpublic.h rm H5Epubgen.h rm H5Epublic.h rm H5FDcore.h rm H5FDdirect.h rm H5FDfamily.h rm H5FDlog.h rm H5FDmpi.h rm H5FDmpio.h rm H5FDmpiposix.h rm H5FDmulti.h rm H5FDpublic.h rm H5FDsec2.h rm H5FDstdio.h rm H5Fpublic.h rm H5Gpublic.h rm H5IMpublic.h rm H5Ipublic.h rm H5LTpublic.h rm H5Lpublic.h rm H5MMpublic.h rm H5Opublic.h rm H5PTpublic.h rm H5Ppublic.h rm H5Rpublic.h rm H5Spublic.h rm H5TBpublic.h rm H5Tpublic.h rm H5Zpublic.h rm H5api_adpt.h rm H5overflow.h rm H5pubconf.h rm H5public.h rm H5version.h rm hdf5.h rm hdf5_hl.h pushd %i/opt/hdf5v1.6/lib #remove .la files which are in hdf5.7-oldapi, settings file, and the C libs. rm libhdf5.{a,la} libhdf5_hl.{a,la} libhdf5.settings popd pushd %i/share/hdf5_examples # remove C examples rm -rf c hl/c run-all-ex.sh hl/run-hl-ex.sh # rename README to avoid collisions mv README README.FORTRAN popd << DocFiles: COPYING README.txt release_docs/RELEASE.txt release_docs/HISTORY* Homepage: http://www.hdfgroup.org/HDF5/index.html Maintainer: Alexander Hansen <<