2018-04-21 20:04:21 +02:00
|
|
|
# Template file for 'hdf5-18'
|
|
|
|
pkgname=hdf5-18
|
|
|
|
version=1.8.20
|
2018-04-22 15:57:15 +02:00
|
|
|
revision=2
|
2018-04-21 20:04:21 +02:00
|
|
|
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}
|
2018-04-22 15:57:15 +02:00
|
|
|
mv -v ${DESTDIR}/usr/lib/libhdf5{,-18}.settings
|
2018-04-21 20:04:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|