package/matio: new package
PATCH v3 1/1 package/matio: new package
From: Gwenhael Goavec-Merou <[email protected]>
matio is an C library for reading and writing MATLAB MAT files.
---
Changes v2 -> v3:
* locally sha256 not mandatory (Thomas)
* since extended-sparse takes 2KB, enable this feature and drop option (Yann)
* add comment about mat73 (Yann)
* enableXX=yes/no -> enable-XX/disable-XX (Yann, Thomas)
Changes v1 -> v2:
* add one blank line befor URL (Heiko)
* drop blank lines around MATIO_DEPENDENCIES and MATIO_INSTALL_STAGING (Heiko)
* drop comment about STAGING (Heiko)
* += -> + for MATIO_CONF_ENV (Heiko)
--- DEVELOPERS | 1 + package/Config.in | 1 + package/matio/Config.in | 8 ++++++++ package/matio/matio.hash | 4 ++++ package/matio/matio.mk | 20 ++++++++++++++++++++ 5 files changed, 34 insertions(+) create mode 100644 package/matio/Config.in create mode 100644 package/matio/matio.hash create mode 100644 package/matio/matio.mk
DEVELOPERS +1 -0
@@ -1104,6 +1104,7 @@ F: package/gnuradio/ F: package/gqrx/ F: package/gr-osmosdr/ F: package/libusbgx/ +F: package/matio/ F: package/python-cheetah/ F: package/python-markdown/ F: package/python-remi/
package/Config.in +1 -0
@@ -1871,6 +1871,7 @@ endif source "package/liquid-dsp/Config.in" source "package/llvm/Config.in" source "package/lttng-libust/Config.in" + source "package/matio/Config.in" source "package/mpc/Config.in" source "package/mpdecimal/Config.in" source "package/mpfr/Config.in"
package/matio/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_MATIO + bool "matio" + select BR2_PACKAGE_ZLIB + help + matio is an C library for reading and writing MATLAB MAT + files. + + https://sourceforge.net/projects/matio
package/matio/matio.hash new file +4 -0
@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/matio/files/matio/1.5.17/ +sha512 af8ff11c7c44fea9ea6886e381f49ef9186946f3def98ad9695f2d5d1df045c35e8f4ceac12a44be397f7bbd708b4803762b5ce54c45b60a9f446d551c04f5d2 matio-1.5.17.tar.gz +# Locally computed +sha256 62a0cab69eeadb3697a2249d5a869915b89e62b59b794dd70802c2b8624ed374 COPYING
package/matio/matio.mk new file +20 -0
@@ -0,0 +1,20 @@ +################################################################################ +# +# matio +# +################################################################################ + +MATIO_VERSION = 1.5.17 +MATIO_SITE = http://downloads.sourceforge.net/project/matio/matio/$(MATIO_VERSION) +MATIO_LICENSE = BSD-2-Clause +MATIO_LICENSE_FILES = COPYING +MATIO_DEPENDENCIES = zlib +MATIO_INSTALL_STAGING = YES + +# va_copy() +MATIO_CONF_ENV = ac_cv_va_copy=yes + +# mat73 require hdf5 (not available), extented-sparse take 2KB +MATIO_CONF_OPTS = --disable-mat73 --enable-extended-sparse + +$(eval $(autotools-package))
Signature · 1 line
2.26.2
Yann E. MORIN
AppliedPATCH v3 1/1 package/matio: new package
Gwenhael, All,
On 2020-04-28 08:42 +0200, Gwenhael Goavec-Merou spake thusly:
Quoted 5 lines
From: Gwenhael Goavec-Merou <[email protected]>
matio is an C library for reading and writing MATLAB MAT files.
Signed-off-by Gwenhael Goavec-Merou <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 99 lines
---
Changes v2 -> v3:
* locally sha256 not mandatory (Thomas)
* since extended-sparse takes 2KB, enable this feature and drop option (Yann)
* add comment about mat73 (Yann)
* enableXX=yes/no -> enable-XX/disable-XX (Yann, Thomas)
Changes v1 -> v2:
* add one blank line befor URL (Heiko)
* drop blank lines aroundMATIO_DEPENDENCIESandMATIO_INSTALL_STAGING(Heiko)
* drop comment about STAGING (Heiko)
* += -> + forMATIO_CONF_ENV(Heiko)--- DEVELOPERS | 1 + package/Config.in | 1 + package/matio/Config.in | 8 ++++++++ package/matio/matio.hash | 4 ++++ package/matio/matio.mk | 20 ++++++++++++++++++++ 5 files changed, 34 insertions(+) create mode 100644 package/matio/Config.in create mode 100644 package/matio/matio.hash create mode 100644 package/matio/matio.mkDEVELOPERS +1
-0@@ -1104,6 +1104,7 @@ F: package/gnuradio/ F: package/gqrx/ F: package/gr-osmosdr/ F: package/libusbgx/ +F: package/matio/ F: package/python-cheetah/ F: package/python-markdown/ F: package/python-remi/package/Config.in +1
-0@@ -1871,6 +1871,7 @@ endif source "package/liquid-dsp/Config.in" source "package/llvm/Config.in" source "package/lttng-libust/Config.in" + source "package/matio/Config.in" source "package/mpc/Config.in" source "package/mpdecimal/Config.in" source "package/mpfr/Config.in"package/matio/Config.in new file +8
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_MATIO + bool "matio" + select BR2_PACKAGE_ZLIB + help + matio is an C library for reading and writing MATLAB MAT + files. + + https://sourceforge.net/projects/matiopackage/matio/matio.hash new file +4
-0@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/matio/files/matio/1.5.17/ +sha512 af8ff11c7c44fea9ea6886e381f49ef9186946f3def98ad9695f2d5d1df045c35e8f4ceac12a44be397f7bbd708b4803762b5ce54c45b60a9f446d551c04f5d2 matio-1.5.17.tar.gz +# Locally computed +sha256 62a0cab69eeadb3697a2249d5a869915b89e62b59b794dd70802c2b8624ed374 COPYINGpackage/matio/matio.mk new file +20
-0@@ -0,0 +1,20 @@ +################################################################################ +# +# matio +# +################################################################################ + +MATIO_VERSION = 1.5.17 +MATIO_SITE = http://downloads.sourceforge.net/project/matio/matio/$(MATIO_VERSION) +MATIO_LICENSE = BSD-2-Clause +MATIO_LICENSE_FILES = COPYING +MATIO_DEPENDENCIES = zlib +MATIO_INSTALL_STAGING = YES + +# va_copy() +MATIO_CONF_ENV = ac_cv_va_copy=yes + +# mat73 require hdf5 (not available), extented-sparse take 2KB +MATIO_CONF_OPTS = --disable-mat73 --enable-extended-sparse + +$(eval $(autotools-package))Signature · 1 line
2.26.2
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'