33 lines
848 B
Bash
33 lines
848 B
Bash
# Template file for 'matio'
|
|
pkgname=matio
|
|
version=1.5.14
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="libtool"
|
|
makedepends="zlib-devel hdf5-devel"
|
|
short_desc="MATLAB MAT file I/O library"
|
|
maintainer="Florian Eich <flrn@nrmncr.net>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/tbeu/matio"
|
|
distfiles="https://github.com/tbeu/matio/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=0b3abb98f5cd75627122a72522db4e4280eb580bdbeafe90a8a0d2df22801f6e
|
|
|
|
if [ "$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/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|