mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 02:36:34 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
40 lines
1 KiB
Text
40 lines
1 KiB
Text
# Contributor: Grigory Kirillov <txgk@bk.ru>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=sympow
|
|
pkgver=2.023.7
|
|
pkgrel=2
|
|
pkgdesc="Program for computing special values of symmetric power elliptic curve L-functions"
|
|
url="https://gitlab.com/rezozer/forks/sympow"
|
|
# blocked by pari
|
|
arch="all !armhf !armv7 !x86"
|
|
license="BSD-2-Clause"
|
|
depends="pari"
|
|
makedepends="bash grep help2man"
|
|
subpackages="$pkgname-doc"
|
|
source="https://gitlab.com/rezozer/forks/sympow/-/archive/v$pkgver/sympow-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sed -i "s|VERBOSE_DEFAULT 1|VERBOSE_DEFAULT 0|" sympow.h
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS="${CFLAGS/-Os/-O3}" # gotta go fast
|
|
|
|
PREFIX=/usr bash ./Configure
|
|
make
|
|
}
|
|
|
|
check() {
|
|
./sympow -help
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ac307f9a8700868913ee12541fad655ddf9eaccd523fa8ddb59c7157c41be6efba599add766724047774cfd8fa2b16cd566e4df483d43d9da49acf81bcbce1b1 sympow-v2.023.7.tar.gz
|
|
"
|