vp-build/srcpkgs/sympow/template

33 lines
927 B
Bash

# Template file for 'sympow'
pkgname=sympow
version=2.023.6
revision=3
wrksrc=${pkgname}-v${version}
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=d153530dfdd46da05c954121640e50771064536fedc22c7fef24fb11083172ef
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
}