From 94880b7afc9a1ba70abb861fcd0030bf617c9ff2 Mon Sep 17 00:00:00 2001 From: Florian Eich Date: Sun, 7 Jan 2018 19:52:34 +0100 Subject: [PATCH] New package: matio-1.5.11 Closes: #10554 [via git-merge-pr] --- common/shlibs | 1 + srcpkgs/matio-devel | 1 + srcpkgs/matio/template | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 120000 srcpkgs/matio-devel create mode 100644 srcpkgs/matio/template diff --git a/common/shlibs b/common/shlibs index 9948c8a8b7c..551e022d1ea 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/matio-devel b/srcpkgs/matio-devel new file mode 120000 index 00000000000..16cfa90e877 --- /dev/null +++ b/srcpkgs/matio-devel @@ -0,0 +1 @@ +matio \ No newline at end of file diff --git a/srcpkgs/matio/template b/srcpkgs/matio/template new file mode 100644 index 00000000000..baa261fbc0a --- /dev/null +++ b/srcpkgs/matio/template @@ -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 " +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 + } +}