void-packages/srcpkgs/hdf5-18/template
Jürgen Buchmüller 84815eae08 hdf5-18: solve conflict
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-22 15:58:53 +02:00

34 lines
921 B
Bash

# Template file for 'hdf5-18'
pkgname=hdf5-18
version=1.8.20
revision=2
wrksrc=hdf5-$version
build_style=gnu-configure
nocross=yes
makedepends="zlib-devel"
short_desc="Data model, library, and file format for storing and managing data"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD"
homepage="http://hdfgroup.org"
distfiles="http://www.hdfgroup.org/ftp/HDF5/current18/src/hdf5-${version}.tar.gz"
checksum=6ed660ccd2bc45aa808ea72e08f33cc64009e9dd4e3a372b53438b210312e8d9
configure_args="--enable-cxx"
post_install() {
vlicense COPYING
vmkdir usr/lib/${pkgname}
mv -v ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/${pkgname}
mv -v ${DESTDIR}/usr/lib/libhdf5{,-18}.settings
}
hdf5-18-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
}
}