Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Math packages: gf2x, ntl, flintlib, arb, eclib
Date: Mon, 09 Aug 2021 01:22:49 +0200	[thread overview]
Message-ID: <20210808232249.aV9SiC_IsZREOMOGDgrFbAiQo-iMnhadUInhSJdrfso@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30032@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages math2
https://github.com/void-linux/void-packages/pull/30032

Math packages: gf2x, ntl, flintlib, arb, eclib
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me

#### Notes
- This includes: `gf2x` (see also #29783), `ntl`, `flintlib`, `arb`, `eclib`.
- Everything is tested and check pass in x86_64, x86_64-musl, i686.

EDIT: split in smaller independent PR to ease review.

A patch file from https://github.com/void-linux/void-packages/pull/30032.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-math2-30032.patch --]
[-- Type: text/x-diff, Size: 17357 bytes --]

From 19c61ac367cb0a39d7a2e56d622a7fc18dec96eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 29 Jan 2018 11:18:35 -0300
Subject: [PATCH 1/5] New package: gf2x-1.3.0

---
 common/options.description |  1 +
 common/shlibs              |  1 +
 srcpkgs/gf2x-devel         |  1 +
 srcpkgs/gf2x/template      | 35 +++++++++++++++++++++++++++++++++++
 srcpkgs/gf2x/update        |  1 +
 5 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/gf2x-devel
 create mode 100644 srcpkgs/gf2x/template
 create mode 100644 srcpkgs/gf2x/update

diff --git a/common/options.description b/common/options.description
index 06360211a23f..46e24a140e52 100644
--- a/common/options.description
+++ b/common/options.description
@@ -49,6 +49,7 @@ desc_option_lz4="Enable support for LZ4 compression format"
 desc_option_lzo="Enable support for LZO compression format"
 desc_option_microhttpd="Enable support for microhttpd"
 desc_option_mpcdec="Enable support for the Musepack decoder"
+desc_option_native_build="Enable instruction subsets supported by the build computer"
 desc_option_notify="Enable support for desktop notifications (libnotify)"
 desc_option_nvenc="Enable support for NVENC codecs"
 desc_option_openblas="Enable support for OpenBLAS accelerated linear algebra"
diff --git a/common/shlibs b/common/shlibs
index 5affb5dc09fd..6ee93e48bfc9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4008,6 +4008,7 @@ libsword-1.8.1.so libsword-1.8.1_6
 libpari-gmp.so.7 pari-2.13.0_1
 libtree-sitter.so.0 tree-sitter-0.19.0_1
 libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
+libgf2x.so.3 gf2x-1.3.0_1
 libwayland-client++.so.0 libwaylandpp-0.2.8_1
 libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
 libwayland-egl++.so.0 libwaylandpp-0.2.8_1
diff --git a/srcpkgs/gf2x-devel b/srcpkgs/gf2x-devel
new file mode 120000
index 000000000000..4542295e8de7
--- /dev/null
+++ b/srcpkgs/gf2x-devel
@@ -0,0 +1 @@
+gf2x
\ No newline at end of file
diff --git a/srcpkgs/gf2x/template b/srcpkgs/gf2x/template
new file mode 100644
index 000000000000..918a9f2d0d5a
--- /dev/null
+++ b/srcpkgs/gf2x/template
@@ -0,0 +1,35 @@
+# Template file for 'gf2x'
+pkgname=gf2x
+version=1.3.0
+revision=1
+wrksrc=gf2x-gf2x-${version}
+build_style=gnu-configure
+hostmakedepends="automake libtool"
+short_desc="C/C++ library for fast arithmetic in GF(2)[x]"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.inria.fr/gf2x/gf2x"
+distfiles="https://gitlab.inria.fr/gf2x/gf2x/-/archive/gf2x-${version}/gf2x-gf2x-${version}.tar.gz"
+checksum=11bcf98b620c60c2ee3b4460b02b7be741f14cfdc26b542f22c92950926575e0
+
+build_options="native_build"
+
+if [ -z "$build_option_native_build" ]; then
+	# this disables sse3, ssse3, sse41, pclmul
+	configure_args="--disable-sse3"
+fi
+
+pre_configure() {
+	autoreconf -fi
+}
+
+gf2x-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/*.so
+		vmove usr/lib/pkgconfig
+	}
+}
diff --git a/srcpkgs/gf2x/update b/srcpkgs/gf2x/update
new file mode 100644
index 000000000000..504503610161
--- /dev/null
+++ b/srcpkgs/gf2x/update
@@ -0,0 +1 @@
+pkgname=gf2x-gf2x

From 424c5b7e14b67d4a523ce738764b4d33d7bd50d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 30 Jan 2018 11:02:38 -0300
Subject: [PATCH 2/5] New package: ntl-11.5.1

---
 common/shlibs        |  1 +
 srcpkgs/ntl-devel    |  1 +
 srcpkgs/ntl/template | 36 ++++++++++++++++++++++++++++++++++++
 srcpkgs/ntl/update   |  1 +
 4 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/ntl-devel
 create mode 100644 srcpkgs/ntl/template
 create mode 100644 srcpkgs/ntl/update

diff --git a/common/shlibs b/common/shlibs
index 6ee93e48bfc9..a35e0d24a9c2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4009,6 +4009,7 @@ libpari-gmp.so.7 pari-2.13.0_1
 libtree-sitter.so.0 tree-sitter-0.19.0_1
 libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
 libgf2x.so.3 gf2x-1.3.0_1
+libntl.so.44 ntl-11.5.1_1
 libwayland-client++.so.0 libwaylandpp-0.2.8_1
 libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
 libwayland-egl++.so.0 libwaylandpp-0.2.8_1
diff --git a/srcpkgs/ntl-devel b/srcpkgs/ntl-devel
new file mode 120000
index 000000000000..fc0a39987329
--- /dev/null
+++ b/srcpkgs/ntl-devel
@@ -0,0 +1 @@
+ntl
\ No newline at end of file
diff --git a/srcpkgs/ntl/template b/srcpkgs/ntl/template
new file mode 100644
index 000000000000..9020c6b5ce68
--- /dev/null
+++ b/srcpkgs/ntl/template
@@ -0,0 +1,36 @@
+# Template file for 'ntl'
+pkgname=ntl
+version=11.5.1
+revision=1
+build_wrksrc="src"
+build_style=configure
+hostmakedepends="perl libtool"
+makedepends="gmp-devel gf2x-devel"
+short_desc="Library for doing Number Theory"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="LGPL-2.1-or-later"
+homepage="https://libntl.org"
+distfiles="https://libntl.org/ntl-${version}.tar.gz"
+checksum=210d06c31306cbc6eaf6814453c56c776d9d8e8df36d74eb306f6a523d1c6a8a
+nocross=yes # runs binaries built for target
+
+build_options="native_build"
+
+do_configure() {
+	# see http://www.shoup.net/ntl/doc/tour-unix.html
+	./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" LIBTOOL="libtool" \
+		PREFIX="/usr" SHARED="on" NTL_GF2X_LIB="on" \
+		NATIVE="$(vopt_if native_build 'on' 'off')"
+}
+
+ntl-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	depends+=" ${makedepends}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/*.so
+		vmove usr/share
+	}
+}
diff --git a/srcpkgs/ntl/update b/srcpkgs/ntl/update
new file mode 100644
index 000000000000..7ca2974b146f
--- /dev/null
+++ b/srcpkgs/ntl/update
@@ -0,0 +1 @@
+site="https://libntl.org/download.html"

From fa89aee97db8aa2df40713b8ea7019437730e736 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 2 Feb 2018 22:42:49 -0300
Subject: [PATCH 3/5] New package: flintlib-2.8.0

---
 common/shlibs                                 |  1 +
 srcpkgs/flintlib-devel                        |  1 +
 .../0001-fix-compilation-with-musl-libc.patch | 80 +++++++++++++++++++
 srcpkgs/flintlib/template                     | 25 ++++++
 srcpkgs/flintlib/update                       |  3 +
 5 files changed, 110 insertions(+)
 create mode 120000 srcpkgs/flintlib-devel
 create mode 100644 srcpkgs/flintlib/patches/0001-fix-compilation-with-musl-libc.patch
 create mode 100644 srcpkgs/flintlib/template
 create mode 100644 srcpkgs/flintlib/update

diff --git a/common/shlibs b/common/shlibs
index a35e0d24a9c2..bfd2ead4bcb9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4010,6 +4010,7 @@ libtree-sitter.so.0 tree-sitter-0.19.0_1
 libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
 libgf2x.so.3 gf2x-1.3.0_1
 libntl.so.44 ntl-11.5.1_1
+libflint.so.16 flintlib-2.8.0_1
 libwayland-client++.so.0 libwaylandpp-0.2.8_1
 libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
 libwayland-egl++.so.0 libwaylandpp-0.2.8_1
diff --git a/srcpkgs/flintlib-devel b/srcpkgs/flintlib-devel
new file mode 120000
index 000000000000..7c2633183069
--- /dev/null
+++ b/srcpkgs/flintlib-devel
@@ -0,0 +1 @@
+flintlib
\ No newline at end of file
diff --git a/srcpkgs/flintlib/patches/0001-fix-compilation-with-musl-libc.patch b/srcpkgs/flintlib/patches/0001-fix-compilation-with-musl-libc.patch
new file mode 100644
index 000000000000..646af0ce43d9
--- /dev/null
+++ b/srcpkgs/flintlib/patches/0001-fix-compilation-with-musl-libc.patch
@@ -0,0 +1,80 @@
+From 2a5b3f8bda5a50cb8a17db0c65fba489d1bf7c71 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Fri, 6 Aug 2021 23:57:10 -0300
+Subject: [PATCH] fix compilation with musl libc
+
+Reported upstream at https://github.com/wbhart/flint2/pull/988
+
+---
+ fmpz.h                                              | 3 +++
+ fmpz_mod_poly_factor/factor_distinct_deg_threaded.c | 1 +
+ fmpz_poly/taylor_shift_divconquer.c                 | 1 +
+ fmpz_poly/taylor_shift_multi_mod_threaded.c         | 1 +
+ nmod_poly_factor/factor_distinct_deg_threaded.c     | 1 +
+ 5 files changed, 7 insertions(+)
+
+diff --git a/fmpz.h b/fmpz.h
+index bb9aa71c9..a091e082e 100644
+--- a/fmpz.h
++++ b/fmpz.h
+@@ -32,6 +32,9 @@
+ #include "fmpz-conversions.h"
+ 
+ #if FLINT_USES_PTHREAD
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE
++#endif
+ #include <pthread.h>
+ #endif
+ 
+diff --git a/fmpz_mod_poly_factor/factor_distinct_deg_threaded.c b/fmpz_mod_poly_factor/factor_distinct_deg_threaded.c
+index 7a0f8cd6d..48ae530e6 100644
+--- a/fmpz_mod_poly_factor/factor_distinct_deg_threaded.c
++++ b/fmpz_mod_poly_factor/factor_distinct_deg_threaded.c
+@@ -15,6 +15,7 @@
+ #define ulong ulongxx/* interferes with system includes */
+ 
+ #include <math.h>
++#define _GNU_SOURCE
+ #include <pthread.h>
+ 
+ #undef ulong
+diff --git a/fmpz_poly/taylor_shift_divconquer.c b/fmpz_poly/taylor_shift_divconquer.c
+index 9c1397f3e..608c64a96 100644
+--- a/fmpz_poly/taylor_shift_divconquer.c
++++ b/fmpz_poly/taylor_shift_divconquer.c
+@@ -11,6 +11,7 @@
+ */
+ 
+ #include <math.h>
++#define _GNU_SOURCE
+ #include <pthread.h>
+ #include <gmp.h>
+ #include "flint.h"
+diff --git a/fmpz_poly/taylor_shift_multi_mod_threaded.c b/fmpz_poly/taylor_shift_multi_mod_threaded.c
+index 87bbe251d..b54886655 100644
+--- a/fmpz_poly/taylor_shift_multi_mod_threaded.c
++++ b/fmpz_poly/taylor_shift_multi_mod_threaded.c
+@@ -10,6 +10,7 @@
+     (at your option) any later version.  See <https://www.gnu.org/licenses/>.
+ */
+ 
++#define _GNU_SOURCE
+ #include <pthread.h>
+ #include <gmp.h>
+ #include "flint.h"
+diff --git a/nmod_poly_factor/factor_distinct_deg_threaded.c b/nmod_poly_factor/factor_distinct_deg_threaded.c
+index 272dd871f..b43765fe4 100644
+--- a/nmod_poly_factor/factor_distinct_deg_threaded.c
++++ b/nmod_poly_factor/factor_distinct_deg_threaded.c
+@@ -15,6 +15,7 @@
+ #define ulong ulongxx/* interferes with system includes */
+ 
+ #include <math.h>
++#define _GNU_SOURCE
+ #include <pthread.h>
+ 
+ #undef ulong
+-- 
+2.32.0
+
diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template
new file mode 100644
index 000000000000..c8cfca9b7a59
--- /dev/null
+++ b/srcpkgs/flintlib/template
@@ -0,0 +1,25 @@
+# Template file for 'flintlib'
+pkgname=flintlib
+version=2.8.0
+revision=1
+wrksrc="flint-${version}"
+build_style=configure
+configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr"
+makedepends="mpfr-devel ntl-devel"
+short_desc="Fast Library for Number Theory"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="LGPL-2.1-or-later"
+homepage="https://flintlib.org"
+distfiles="https://flintlib.org/flint-${version}.tar.gz"
+checksum=584235cdc39d779d9920eaef16fe084f3c26ffeeea003a3fff64a20a0f33449e
+
+flintlib-devel_package() {
+	depends="flintlib>=${version}_${revision}"
+	depends+=" mpfr-devel"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/*.so
+	}
+}
diff --git a/srcpkgs/flintlib/update b/srcpkgs/flintlib/update
new file mode 100644
index 000000000000..21d6ab4bae5b
--- /dev/null
+++ b/srcpkgs/flintlib/update
@@ -0,0 +1,3 @@
+# package was named 'flintlib' because of another package
+pkgname=flint
+site="https://flintlib.org/downloads.html"

From 2f3225ab0fd7c7d334db7cde04a88c250bfffba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 4 Feb 2018 01:00:19 -0300
Subject: [PATCH 4/5] New package: arb-2.20.0

---
 common/shlibs                                 |  1 +
 srcpkgs/arb-devel                             |  1 +
 .../0001-fix-compilation-with-musl-libc.patch | 43 +++++++++++++++++++
 srcpkgs/arb/template                          | 24 +++++++++++
 4 files changed, 69 insertions(+)
 create mode 120000 srcpkgs/arb-devel
 create mode 100644 srcpkgs/arb/patches/0001-fix-compilation-with-musl-libc.patch
 create mode 100644 srcpkgs/arb/template

diff --git a/common/shlibs b/common/shlibs
index bfd2ead4bcb9..43c81b9afab8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4011,6 +4011,7 @@ libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
 libgf2x.so.3 gf2x-1.3.0_1
 libntl.so.44 ntl-11.5.1_1
 libflint.so.16 flintlib-2.8.0_1
+libarb.so.2 arb-2.20.0_1
 libwayland-client++.so.0 libwaylandpp-0.2.8_1
 libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
 libwayland-egl++.so.0 libwaylandpp-0.2.8_1
diff --git a/srcpkgs/arb-devel b/srcpkgs/arb-devel
new file mode 120000
index 000000000000..456b9f00a86c
--- /dev/null
+++ b/srcpkgs/arb-devel
@@ -0,0 +1 @@
+arb
\ No newline at end of file
diff --git a/srcpkgs/arb/patches/0001-fix-compilation-with-musl-libc.patch b/srcpkgs/arb/patches/0001-fix-compilation-with-musl-libc.patch
new file mode 100644
index 000000000000..b6f4c5d86ee0
--- /dev/null
+++ b/srcpkgs/arb/patches/0001-fix-compilation-with-musl-libc.patch
@@ -0,0 +1,43 @@
+From 65a570aad78d30539cb2cc7facd30cc676334da0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Sat, 7 Aug 2021 00:25:49 -0300
+Subject: [PATCH] fix compilation with musl libc
+
+Reported upstream at https://github.com/fredrik-johansson/arb/pull/376
+
+---
+ acb_poly/powsum_series_naive_threaded.c | 2 +-
+ partitions/fmpz_fmpz.c                  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/acb_poly/powsum_series_naive_threaded.c b/acb_poly/powsum_series_naive_threaded.c
+index b665c3cb..acf5f401 100644
+--- a/acb_poly/powsum_series_naive_threaded.c
++++ b/acb_poly/powsum_series_naive_threaded.c
+@@ -9,8 +9,8 @@
+     (at your option) any later version.  See <http://www.gnu.org/licenses/>.
+ */
+ 
+-#include <pthread.h>
+ #include "acb_poly.h"
++#include <pthread.h>
+ 
+ typedef struct
+ {
+diff --git a/partitions/fmpz_fmpz.c b/partitions/fmpz_fmpz.c
+index 3b63489d..f3913f6b 100644
+--- a/partitions/fmpz_fmpz.c
++++ b/partitions/fmpz_fmpz.c
+@@ -9,8 +9,8 @@
+     (at your option) any later version.  See <http://www.gnu.org/licenses/>.
+ */
+ 
+-#include <pthread.h>
+ #include "partitions.h"
++#include <pthread.h>
+ 
+ /* defined in flint*/
+ #define NUMBER_OF_SMALL_PARTITIONS 128
+-- 
+2.32.0
+
diff --git a/srcpkgs/arb/template b/srcpkgs/arb/template
new file mode 100644
index 000000000000..0b1f333b3909
--- /dev/null
+++ b/srcpkgs/arb/template
@@ -0,0 +1,24 @@
+# Template file for 'arb'
+pkgname=arb
+version=2.20.0
+revision=1
+build_style=configure
+configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-flint=/usr"
+makedepends="flintlib-devel"
+short_desc="C library for arbitrary-precision interval arithmetic"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="LGPL-2.1-or-later"
+homepage="https://arblib.org"
+distfiles="https://github.com/fredrik-johansson/arb/archive/${version}.tar.gz"
+checksum=d2f186b10590c622c11d1ca190c01c3da08bac9bc04e84cb591534b917faffe7
+
+arb-devel_package() {
+	depends="arb>=${version}_${revision}"
+	depends+=" ${makedepends}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/*.so
+	}
+}

From 79b992b5a972401a6a91e576ab001e5f09037a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 1 Jun 2020 14:50:01 -0300
Subject: [PATCH 5/5] New package: eclib-20210625

---
 common/shlibs          |  1 +
 srcpkgs/eclib-devel    |  1 +
 srcpkgs/eclib/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/eclib-devel
 create mode 100644 srcpkgs/eclib/template

diff --git a/common/shlibs b/common/shlibs
index 43c81b9afab8..6ea8387496c2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4012,6 +4012,7 @@ libgf2x.so.3 gf2x-1.3.0_1
 libntl.so.44 ntl-11.5.1_1
 libflint.so.16 flintlib-2.8.0_1
 libarb.so.2 arb-2.20.0_1
+libec.so.8 eclib-20210625_1
 libwayland-client++.so.0 libwaylandpp-0.2.8_1
 libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
 libwayland-egl++.so.0 libwaylandpp-0.2.8_1
diff --git a/srcpkgs/eclib-devel b/srcpkgs/eclib-devel
new file mode 120000
index 000000000000..d29e610e9249
--- /dev/null
+++ b/srcpkgs/eclib-devel
@@ -0,0 +1 @@
+eclib
\ No newline at end of file
diff --git a/srcpkgs/eclib/template b/srcpkgs/eclib/template
new file mode 100644
index 000000000000..4f36a16287b5
--- /dev/null
+++ b/srcpkgs/eclib/template
@@ -0,0 +1,30 @@
+# Template file for 'eclib'
+pkgname=eclib
+version=20210625
+revision=1
+build_style=gnu-configure
+configure_args="--with-flint --with-boost"
+hostmakedepends="automake autoconf-archive libtool"
+makedepends="pari-devel ntl-devel flintlib-devel boost-devel"
+short_desc="Elliptic curve library, includes mwrank"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/JohnCremona/eclib"
+distfiles="https://github.com/JohnCremona/eclib/archive/refs/tags/${version}.tar.gz"
+checksum=00333fd36afd237c9e6e410c7ab98536ddcd7fdc430e6837fe293247b835c572
+
+pre_configure() {
+	autoreconf -fi
+}
+
+eclib-devel_package() {
+	depends="eclib>=${version}_${revision}"
+	depends+=" ntl-devel"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/*.so
+		vmove usr/lib/pkgconfig
+	}
+}

  parent reply	other threads:[~2021-08-08 23:22 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06  3:35 [PR PATCH] More math libraries and tools tornaria
2021-04-06  3:53 ` abenson
2021-04-06  5:05 ` Math packages: gf2x, ntl, flintlib, arb, eclib tornaria
2021-04-06  5:05 ` tornaria
2021-04-07 12:53 ` dkwo
2021-04-09  2:10 ` [PR PATCH] [Updated] " tornaria
2021-05-13 17:57 ` tornaria
2021-05-13 18:25 ` tornaria
2021-08-06 19:18 ` [PR REVIEW] " ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:32 ` [PR PATCH] [Updated] " tornaria
2021-08-06 19:32 ` tornaria
2021-08-06 19:36 ` [PR REVIEW] " tornaria
2021-08-06 19:44 ` ericonr
2021-08-06 19:44 ` ericonr
2021-08-06 20:02 ` tornaria
2021-08-06 20:05 ` ericonr
2021-08-06 20:05 ` ericonr
2021-08-06 20:11 ` tornaria
2021-08-06 20:48 ` [PR REVIEW] " tornaria
2021-08-06 20:48 ` tornaria
2021-08-06 20:52 ` tornaria
2021-08-06 21:00 ` tornaria
2021-08-06 21:22 ` ericonr
2021-08-06 21:24 ` ericonr
2021-08-07  0:12 ` ericonr
2021-08-08 23:04 ` tornaria
2021-08-08 23:22 ` tornaria [this message]
2021-08-08 23:24 ` [PR REVIEW] " tornaria
2021-08-08 23:25 ` tornaria
2021-08-08 23:25 ` tornaria
2021-08-08 23:26 ` tornaria
2021-08-08 23:30 ` [PR PATCH] [Updated] " tornaria
2021-08-08 23:30 ` [PR REVIEW] " tornaria
2021-08-08 23:33 ` tornaria
2021-08-08 23:37 ` tornaria
2021-08-09  2:33 ` [PR PATCH] [Updated] " tornaria
2021-08-09  2:40 ` tornaria
2021-08-10 18:38 ` [PR REVIEW] " ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 20:39 ` [PR PATCH] [Updated] " tornaria
2021-08-10 20:46 ` tornaria
2021-08-10 20:48 ` tornaria
2021-08-17 21:50 ` tornaria
2021-08-18  9:26 ` dkwo
2021-08-18 14:44 ` tornaria
2021-08-18 14:57 ` dkwo
2021-08-18 16:57 ` dkwo
2021-08-18 18:48 ` [PR PATCH] [Merged]: " ericonr
2021-08-18 18:49 ` ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210808232249.aV9SiC_IsZREOMOGDgrFbAiQo-iMnhadUInhSJdrfso@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).