Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : hdf5 | name : hdf5 | ||||
| version : 1.10.4 | version : 1.10.4 | ||||
| release : 7 | release : 8 | ||||
| source : | source : | ||||
| - https://support.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.10.4.tar.gz : 8f60dc4dd6ab5fcd23c750d1dc5bca3d0453bdce5c8cdaf0a4a61a9d1122adb2 | - https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.4/src/hdf5-1.10.4.tar.gz : 8f60dc4dd6ab5fcd23c750d1dc5bca3d0453bdce5c8cdaf0a4a61a9d1122adb2 | ||||
| license : BSD-3-Clause | license : BSD-3-Clause | ||||
| component : programming | component : programming | ||||
| summary : HDF5 is a data model, library, and file format for storing and managing data | summary : HDF5 is a data model, library, and file format for storing and managing data | ||||
| description: | | description: | | ||||
| HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format. | HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format. | ||||
| setup : | | setup : | | ||||
| %cmake_ninja -DHDF5_ENABLE_Z_LIB_SUPPORT=ON \ | # Run CMake to generate pkgconfig files | ||||
| -DHDF5_INSTALL_CMAKE_DIR=/usr/share/cmake \ | %cmake_ninja -DHDF5_ENABLE_Z_LIB_SUPPORT=ON -DHDF5_INSTALL_LIB_DIR=%libdir% | ||||
| -DHDF5_INSTALL_DATA_DIR=/usr/share/doc/hdf5 \ | |||||
| -DHDF5_INSTALL_LIB_DIR=%libdir% | %configure \ | ||||
| --disable-sharedlib-rpath \ | |||||
| --disable-static \ | |||||
| --enable-build-mode=production \ | |||||
| --enable-hl \ | |||||
| --enable-cxx \ | |||||
| --with-pic \ | |||||
| --with-zlib | |||||
YakoYakoYokuYoku: I'd suggest to run CMake once so we can have the `*.pc` files, i.e.:
```
%cmake_ninja… | |||||
| build : | | build : | | ||||
| %ninja_build | %make | ||||
| install : | | install : | | ||||
| %ninja_install | %make_install | ||||
| export PKGCONFIGDIR=$installdir/%libdir%/pkgconfig/ | |||||
| install -dm00644 $PKGCONFIGDIR | |||||
| install -Dm00644 solusBuildDir/CMakeFiles/*.pc $PKGCONFIGDIR | |||||
| ln -s %libdir%/pkgconfig/hdf5-$version.pc $PKGCONFIGDIR/hdf5.pc | |||||
Not Done Inline Actionsfile reports me broken links: /usr/lib64/pkgconfig/hdf5.pc: broken symbolic link to /home/build/YPKG/root/hdf5/install//usr/lib64/pkgconfig//hdf5-1.10.4.pc I'd suggest to remove $PKGCONFIGDIR/ and leave only hdf5-$version.pc, meaning that this will symlink to hdf5-$version.pc if it's in the same dir, this also applies to the rest. YakoYakoYokuYoku: `file` reports me broken links:
```
/usr/lib64/pkgconfig/hdf5.pc: broken symbolic link to… | |||||
| ln -s %libdir%/pkgconfig/hdf5_cpp-$version.pc $PKGCONFIGDIR/hdf5_cpp.pc | |||||
| ln -s %libdir%/pkgconfig/hdf5_hl-$version.pc $PKGCONFIGDIR/hdf5_hl.pc | |||||
| ln -s %libdir%/pkgconfig/hdf5_hl_cpp-$version.pc $PKGCONFIGDIR/hdf5_hl_cpp.pc | |||||
| check : | | check : | | ||||
| %ninja_check | export LD_LIBRARY_PATH="$installdir/%libdir%:$LD_LIBRARY_PATH" | ||||
| %make check | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
I'd suggest to run CMake once so we can have the *.pc files, i.e.:
The *.pcs reside in solusBuildDir/CMakeFiles/*.pc, then these should be installed and lastly all of them needs to be copied/symlinked to a non versioned *.pc file so that we don't have broken pkg-config dependencies.