From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sat, 21 Aug 2021 09:52:03 +0200 Subject: [PATCH 1/5] New package: m4ri-20200125 --- common/shlibs | 1 + srcpkgs/m4ri/template | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 srcpkgs/m4ri/template diff --git a/common/shlibs b/common/shlibs index befa6484dfee..90840b9aef8f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1 libpthread.so.0 glibc-2.32_1 librt.so.1 glibc-2.32_1 libdl.so.2 glibc-2.32_1 +libm4ri-0.0.20200125.so m4ri-20200125_1 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64 ld-linux.so.2 glibc-2.32_1 i686 ld-linux.so.3 glibc-2.32_1 armv5tel diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template new file mode 100644 index 000000000000..06ee9942d149 --- /dev/null +++ b/srcpkgs/m4ri/template @@ -0,0 +1,13 @@ +# Template file for 'm4ri' +pkgname=m4ri +version=20200125 +revision=1 +build_style=gnu-configure +configure_args="--prefix=/usr --with-openmp" +depends="libpng" +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="${homepage}/downloads/${pkgname}-${version}.tar.gz" +checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863 From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sat, 21 Aug 2021 09:53:12 +0200 Subject: [PATCH 2/5] New package: m4rie-20200125 --- common/shlibs | 1 + srcpkgs/m4rie/template | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 srcpkgs/m4rie/template diff --git a/common/shlibs b/common/shlibs index 90840b9aef8f..684da340a547 100644 --- a/common/shlibs +++ b/common/shlibs @@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1 librt.so.1 glibc-2.32_1 libdl.so.2 glibc-2.32_1 libm4ri-0.0.20200125.so m4ri-20200125_1 +libm4rie-0.0.20200125.so m4rie-20200125_1 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64 ld-linux.so.2 glibc-2.32_1 i686 ld-linux.so.3 glibc-2.32_1 armv5tel diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template new file mode 100644 index 000000000000..b1a740bac281 --- /dev/null +++ b/srcpkgs/m4rie/template @@ -0,0 +1,13 @@ +# Template file for 'm4rie' +pkgname=m4rie +version=20200125 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config autoconf automake libtool" +makedepends="m4ri" +short_desc="Library for fast arithmetic with dense matrices over GF(2^e)." +maintainer="Eloi Torrents " +license="GPL-3.0-or-later" +homepage="https://bitbucket.org/malb/m4rie" +distfiles="${homepage}/downloads/m4rie-${version}.tar.gz" +checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d From 3327c7fe4ac9404a0c5ec5d686a15eeb9b73f9af Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sun, 22 Aug 2021 13:14:07 +0200 Subject: [PATCH 3/5] New package: m4ri-20200125 --- common/shlibs | 1 + srcpkgs/m4ri/template | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/common/shlibs b/common/shlibs index 684da340a547..290110a5af79 100644 --- a/common/shlibs +++ b/common/shlibs @@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1 librt.so.1 glibc-2.32_1 libdl.so.2 glibc-2.32_1 libm4ri-0.0.20200125.so m4ri-20200125_1 +libm4ri-0.0.20200125.so m4ri-devel-20200125_1 libm4rie-0.0.20200125.so m4rie-20200125_1 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64 ld-linux.so.2 glibc-2.32_1 i686 diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template index 06ee9942d149..c3774920f2d5 100644 --- a/srcpkgs/m4ri/template +++ b/srcpkgs/m4ri/template @@ -3,11 +3,22 @@ pkgname=m4ri version=20200125 revision=1 build_style=gnu-configure -configure_args="--prefix=/usr --with-openmp" -depends="libpng" +configure_args="--enable-openmp" +hostmakedepends=pkg-config +makedepends=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="${homepage}/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/*.so" + } +} From f9afa714ba41f5ce69bf4f4840df817eb4fc51d8 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sun, 22 Aug 2021 15:32:49 +0200 Subject: [PATCH 4/5] New package: m4ri-20200125 --- srcpkgs/m4ri-devel | 1 + 1 file changed, 1 insertion(+) create mode 120000 srcpkgs/m4ri-devel diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel new file mode 120000 index 000000000000..a269c97b0d75 --- /dev/null +++ b/srcpkgs/m4ri-devel @@ -0,0 +1 @@ +m4ri \ No newline at end of file From 56a133ddcf2f35ec0010a5143dd3c0b3cef035c6 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Sun, 22 Aug 2021 15:46:52 +0200 Subject: [PATCH 5/5] New package: m4ri-20200125 --- srcpkgs/m4ri/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template index c3774920f2d5..46841f408240 100644 --- a/srcpkgs/m4ri/template +++ b/srcpkgs/m4ri/template @@ -20,5 +20,6 @@ m4ri-devel_package() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.so" +# vmove usr/lib/pkgconfig } }