From 133ac5ae7821219de273f727d8a6c3f40bf88a50 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Thu, 2 Sep 2021 22:39:15 +0200 Subject: [PATCH] New package: m4ri-20200125 --- common/shlibs | 1 + srcpkgs/m4ri-devel | 1 + srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/m4ri-devel create mode 100644 srcpkgs/m4ri/template diff --git a/common/shlibs b/common/shlibs index 52c2f17b719..fff8db2b0e7 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4041,3 +4041,4 @@ libstemmer.so.2 libstemmer-2.1.0_1 libdecor-0.so.0 libdecor-0.1.0_1 libavif.so.13 libavif-0.9.3_1 libkdumpfile.so.9 libkdumpfile-0.4.1_1 +libm4ri-0.0.20200125.so m4ri-20200125_1 diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel new file mode 120000 index 00000000000..a269c97b0d7 --- /dev/null +++ b/srcpkgs/m4ri-devel @@ -0,0 +1 @@ +m4ri \ No newline at end of file diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template new file mode 100644 index 00000000000..54a8981e517 --- /dev/null +++ b/srcpkgs/m4ri/template @@ -0,0 +1,25 @@ +# Template file for 'm4ri' +pkgname=m4ri +version=20200125 +revision=1 +build_style=gnu-configure +configure_args="--enable-openmp ax_cv_have_sse3_ext=no ax_cv_have_ssse3_ext=no" +hostmakedepends="pkg-config" +makedepends="libgomp-devel libpng-devel" +short_desc="Library for fast arithmetic with dense matrices over GF(2)" +maintainer="Eloi Torrents " +license="GPL-2.0-or-later" +homepage="https://bitbucket.org/malb/m4ri" +distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz" +checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863 + +m4ri-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/libm4ri.so + vmove usr/lib/pkgconfig + } +}