Package: hdf5.9 # v1.8.14 is last of the libN=9. 1.8.15 bumps SONAME to 10. Version: 1.8.14 Revision: 5 Description: Scientific data format (v1.8 API)--headers License: OSI-Approved Maintainer: None Depends: %N-shlibs (= %v-%r), %N-bin, szip-shlibs (>= 2.0-2) BuildDepends: << fink-package-precedence, fink (>= 0.34.8), flag-sort, szip (>= 2.0-2) << Replaces: << hdf5.9, hdf5.9-oldapi, hdf5.10, hdf5.10-oldapi, hdf5.100.v1.8, hdf5.100.v1.10, hdf5.100.v1.12, hdf5.200.v1.8, hdf5.200.v1.10, hdf5.200.v1.12, hdf5-cpp11 (<< 1.8.16-7), hdf5-oldapi-cpp11 (<< 1.8.16-7), hdf5-cpp.100.v1.8 (<< 1.10.0-5), hdf5-cpp.100.v1.10 (<< 1.10.0-5) << Conflicts: << hdf5.9, hdf5.9-oldapi, hdf5.10, hdf5.10-oldapi, hdf5-cpp11, hdf5-cpp11-oldapi, hdf5.100.v1.8, hdf5.100.v1.10, hdf5.100.v1.12, hdf5.200.v1.8, hdf5.200.v1.10, hdf5.200.v1.12 << BuildDependsOnly: true Source: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-%v/src/hdf5-%v.tar.gz Source-Checksum: SHA256(1dbefeeef7f591897c632b2b090db96bb8d35ad035beaa36bc39cb2bc67e0639) PatchFile: hdf5.9-implicit-functions.patch PatchFile-MD5: bba7608c8736af7b28f868b0b83ab1e4 PatchScript: << #!/bin/sh -ev %{default_script} perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure # obsolete use of sort perl -pi -e 's,sort \+2,sort -k 2,' bin/ltmain.sh cp config/apple config/powerpc-apple cp config/apple config/i386-apple cp config/apple config/x86_64-apple # "strings" executable on 10.7 is unhappy with binaries generated with # newer Xcodes, so avoid that case. osversion=`uname -r | cut -d. -f1` echo $osversion if [ $osversion -eq 11 ] ; then perl -pi -e 's/CHECK_LIBINFO.*shlib.*/SKIP shlib/' test/testlibinfo.sh.in fi # saw a complaint about this using gcc48 to build against hdf5.7 perl -pi -e 's/(H5_PRINTF_LL_WIDTH)/ \1 /' src/H5public.h test/dt_arith.c tools/h5ls/h5ls.c tools/lib/h5diff_array.c tools/lib/h5diff_util.c tools/lib/h5tools.h tools/lib/h5trav.c # Patch configure not to link like Puma on Yosemite perl -pi -e 's/(10\.\[012\])\*/\1\,.\*/' configure << ConfigureParams: << --enable-shared \ --enable-cxx \ --disable-fortran \ --with-zlib=/usr \ --without-mpe \ --with-szlib=%p \ --without-pthread \ --disable-parallel \ --disable-static \ --disable-silent-rules << GCC: 4.0 SetCC: flag-sort -r clang SetCXX: flag-sort -r clang++ CompileScript: << #!/bin/sh -ev %{default_script} pushd tools make -w popd fink-package-precedence --prohibit-bdep=%N,%N-oldapi,hdf5.7,hdf5.7-oldapi,hdf5,hdf5-18 c++/ fortran/ tools/ hl/tools << InfoTest: << TestScript: make -j1 check || exit 2 TestSuiteSize: large << InstallScript: make install DESTDIR=%d DocFiles: COPYING README.txt release_docs/RELEASE.txt release_docs/HISTORY* SplitOff: << Package: %N-shlibs Description: HDF5 (v1.8 API)--C/C++ libraries Depends: szip-shlibs (>= 2.0-2) Files: << lib/libhdf5.9.dylib lib/libhdf5_cpp.9.dylib lib/libhdf5_hl.9.dylib lib/libhdf5_hl_cpp.9.dylib << Shlibs: << %p/lib/libhdf5.9.dylib 10.0.0 %n (>= 1.8.14-1) %p/lib/libhdf5_hl.9.dylib 10.0.0 %n (>= 1.8.14-1) %p/lib/libhdf5_cpp.9.dylib 10.0.0 %n (>= 1.8.14-1) %p/lib/libhdf5_hl_cpp.9.dylib 10.0.0 %n (>= 1.8.14-1) << DocFiles: COPYING README.txt release_docs/RELEASE.txt release_docs/HISTORY* << SplitOff2: << Package: %N-bin Description: HDF5 (v1.8 API)-executables Depends: %N-shlibs (= %v-%r) Conflicts: << hdf5.9-bin, hdf5.9-oldapi-bin, hdf5-bin, hdf5-oldapi-bin, hdf5.100.v1.8-bin, hdf5.100.v1.10-bin, hdf5.200.v1.8-bin, hdf5.200.v1.10-bin, hdf5.200.v1.12-bin << Replaces: << hdf5.9-bin, hdf5.9-oldapi-bin, hdf5-bin, hdf5-oldapi-bin, hdf5.100.v1.8-bin, hdf5.100.v1.10-bin, hdf5.200.v1.8-bin, hdf5.200.v1.10-bin, hdf5.200.v1.12-bin << Files: bin DocFiles: COPYING README.txt release_docs/RELEASE.txt release_docs/HISTORY* << Homepage: https://portal.hdfgroup.org/display/HDF5 DescDetail: << HDF5 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. Fink's "%N*" packages are intended to replace the corresponding ones from "hdf5-18*". << DescPackaging: << Former Maintainer: Alexander Hansen Make sure to update the netcdf* (>> 3.6.3) packages when this is updated. Buildepends on fink (>= 0.34.8) since that's when we introduced a clang compiler wrapper. -bin package Conflicts/Replaces BDOs from other libversions since those Depend on the their own -bin. << DescPort: << Manually generate appropriate system configuration files to be found by the configure script. Set ac_env_CC and ac_env_CXX so that we can use "flag-sort", because the build appears to find incompatible headers from currently installed versions of the package. <<