void-packages/srcpkgs/sympow/template

32 lines
897 B
Bash

# Template file for 'sympow'
pkgname=sympow
version=2.023.7
revision=1
build_style=configure
make_build_target=all
hostmakedepends="which pari help2man"
short_desc="Computes special values of symmetric power elliptic curve L-functions"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-2-Clause"
homepage="https://gitlab.com/rezozer/forks/sympow"
changelog="https://gitlab.com/rezozer/forks/sympow/-/raw/master/HISTORY"
distfiles="https://gitlab.com/rezozer/forks/sympow/-/archive/v${version}/sympow-v${version}.tar.bz2"
checksum=47990ce571ab4f6dabf4b64344bc7df77cf39a3c94f2d36323e43b79800f90b5
nocross=yes # runs binaries built for target
CFLAGS="-Wno-unused-result"
do_configure() {
PREFIX=/usr ./Configure
}
post_install() {
vlicense COPYING
}
do_check() {
echo "Testing sympow ..."
sh "${FILESDIR}"/test > test.log
diff "${FILESDIR}"/test.out test.log && echo PASS
}