32 lines
921 B
Bash
32 lines
921 B
Bash
# Template file for 'hdf5'
|
|
pkgname=hdf5
|
|
version=1.10.11
|
|
revision=1
|
|
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://github.com/HDFGroup/hdf5/archive/hdf5-${version//./_}.tar.gz"
|
|
checksum=4ef6375fc7d8c54dcd66e9bc35a7a3580d33cd8878bdf21ad1eb388a43863159
|
|
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
|
|
}
|
|
}
|