32 lines
898 B
Bash
32 lines
898 B
Bash
# Template file for 'hdf5'
|
|
pkgname=hdf5
|
|
version=1.10.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-cxx --enable-fortran"
|
|
hostmakedepends="gcc-fortran"
|
|
makedepends="zlib-devel"
|
|
short_desc="A data model, library, and file format for storing and managing data"
|
|
maintainer="pulux <pulux@pf4sh.de>"
|
|
license="custom"
|
|
homepage="https://hdfgroup.org"
|
|
distfiles="https://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-${version}.tar.gz"
|
|
checksum=048a9d149fb99aaa1680a712963f5a78e9c43b588d0e79d55e06760ec377c172
|
|
nocross="https://portal.hdfgroup.org/pages/viewpage.action?pageId=48808266"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
rm -rf ${DESTDIR}/usr/lib/libdynlib*.so
|
|
}
|
|
|
|
hdf5-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|