void-packages/srcpkgs/hdf5/template
2021-04-14 08:19:56 -03:00

31 lines
920 B
Bash

# Template file for 'hdf5'
pkgname=hdf5
version=1.10.5
revision=2
build_style=gnu-configure
configure_args="--enable-cxx --enable-fortran"
hostmakedepends="gcc-fortran"
makedepends="zlib-devel"
short_desc="Data model, library, and file format for storing and managing data"
maintainer="pulux <pulux@pf4sh.de>"
license="custom:BSD-3-Clause-LBNL-alike"
homepage="https://hdfgroup.org"
distfiles="https://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-${version}.tar.gz"
checksum=6d4ce8bf902a97b050f6f491f4268634e252a63dadd6656a1a9be5b7b7726fa8
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
}
}