void-packages/srcpkgs/hdf5/template
2016-09-30 15:31:13 +02:00

30 lines
742 B
Bash

# Template file for 'hdf5'
pkgname=hdf5
version=1.8.17
revision=2
build_style=gnu-configure
nocross=yes
makedepends="zlib-devel"
short_desc="A data model, library, and file format for storing and managing data"
maintainer="pulux <pulux@pf4sh.de>"
license="BSD"
homepage="http://hdfgroup.org"
distfiles="http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-${version}.tar.gz"
checksum=d9cda297ee76ade9881c4208987939250d397bae6252d0ccb66fa7d24d67e263
configure_args="--enable-cxx"
post_install() {
vlicense COPYING
}
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
}
}