32 lines
799 B
Bash
32 lines
799 B
Bash
# Template file for 'matio'
|
|
pkgname=matio
|
|
version=1.5.11
|
|
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=0ccced0c55c9c2cdc21348b7e16447843402d729ffaadd6135767faad7c9cf0b
|
|
|
|
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
|
|
}
|
|
}
|