2018-01-07 19:52:34 +01:00
|
|
|
# Template file for 'matio'
|
|
|
|
pkgname=matio
|
2018-04-07 11:51:38 +02:00
|
|
|
version=1.5.12
|
2018-01-07 19:52:34 +01:00
|
|
|
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"
|
2018-04-07 11:51:38 +02:00
|
|
|
checksum=8695e380e465056afa5b5e20128935afe7d50e03830f9f7778a72e1e1894d8a9
|
2018-01-07 19:52:34 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|