void-packages/srcpkgs/matio/template
Jürgen Buchmüller 67ac145b69
matio: update to 1.15.12
Closes: #12646
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-07 11:51:38 +02:00

32 lines
799 B
Bash

# Template file for 'matio'
pkgname=matio
version=1.5.12
revision=1
build_style=gnu-configure
hostmakedepends="libtool"
makedepends="zlib-devel hdf5-devel"
depends="zlib hdf5"
short_desc="MATLAB MAT file I/O library"
maintainer="Florian Eich <flrn@nrmncr.net>"
license="BSD-2"
homepage="https://github.com/tbeu/matio"
distfiles="https://github.com/tbeu/matio/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=8695e380e465056afa5b5e20128935afe7d50e03830f9f7778a72e1e1894d8a9
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_va_copy=C99"
fi
post_install() {
vlicense COPYING
}
matio-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove /usr/include
vmove /usr/lib/*.a
vmove /usr/lib/*.so
}
}