mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/eclib: new aport
Tools for creating the elliptic curve databases https://github.com/JohnCremona/eclib Needed for #14155
This commit is contained in:
parent
7464051b22
commit
cee7a84cf4
39
testing/eclib/APKBUILD
Normal file
39
testing/eclib/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
||||
# Maintainer: Grigory Kirillov <txgk@bk.ru>
|
||||
pkgname=eclib
|
||||
pkgver=20221012
|
||||
pkgrel=0
|
||||
pkgdesc="Tools for creating the elliptic curve databases"
|
||||
url="https://github.com/JohnCremona/eclib"
|
||||
# armhf, armv7, x86: blocked by pari
|
||||
# s390x: blocked by flint
|
||||
arch="all !armhf !armv7 !s390x !x86"
|
||||
license="GPL-2.0-or-later"
|
||||
makedepends="boost-dev flint-dev libntl-dev pari-dev"
|
||||
source="https://github.com/JohnCremona/eclib/releases/download/$pkgver/eclib-$pkgver.tar.bz2"
|
||||
subpackages="$pkgname-static $pkgname-dev $pkgname-libs $pkgname-doc"
|
||||
|
||||
build() {
|
||||
export CXXFLAGS="${CXXFLAGS/-Os/-O3}" # gotta go fast
|
||||
|
||||
./configure \
|
||||
--target="$CTARGET" \
|
||||
--build="$CBUILD" \
|
||||
--host="$CHOST" \
|
||||
--prefix=/usr \
|
||||
--with-boost=yes \
|
||||
--enable-mpfp
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
9d04aefe9e35fbc1b18dd92b5ba872cf71f5ce1c94c9a0f1ff326c763bf144112d7d950ac80e2bd8d3780a303edeeac903754b4eb5fb241e87be7ef3f2738c19 eclib-20221012.tar.bz2
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user