New package: matio-1.5.11

Closes: #10554 [via git-merge-pr]
This commit is contained in:
Florian Eich 2018-01-07 19:52:34 +01:00 committed by Jürgen Buchmüller
parent 7a869a253e
commit 94880b7afc
3 changed files with 34 additions and 0 deletions

View File

@ -3049,3 +3049,4 @@ libembb_mtapi_c.so embb-devel-1.0.0_1
libembb_mtapi_network_c.so embb-devel-1.0.0_1
libembb_base_cpp.so embb-devel-1.0.0_1
libembb_base_c.so embb-devel-1.0.0_1
libmatio.so.4 matio-1.5.11_1

1
srcpkgs/matio-devel Symbolic link
View File

@ -0,0 +1 @@
matio

32
srcpkgs/matio/template Normal file
View File

@ -0,0 +1,32 @@
# 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
}
}