Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions srcpkgs/lcalc/template
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Template file for 'lcalc'
pkgname=lcalc
version=2.1.1
version=2.2.1
revision=1
build_style=gnu-configure
configure_args="--with-pari"
hostmakedepends="automake libtool pkg-config gengetopt"
hostmakedepends="gengetopt"
makedepends="gmp-devel pari-devel"
short_desc="Michael Rubinstein's L-function calculator"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/sagemath/lcalc"
changelog="https://gitlab.com/sagemath/lcalc/-/raw/master/doc/ChangeLog"
distfiles="https://gitlab.com/sagemath/lcalc/-/archive/${version}/lcalc-${version}.tar.bz2"
checksum=f93c1ac7ad6d5524f52888cae5eefc5a00af635d34d53831e16e221166b5b6cd
distfiles="https://gitlab.com/-/project/12934202/uploads/0bcf82cdd02412faf9ec0cf80e656610/lcalc-${version}.tar.xz"
checksum=aa2c3979b12e12df2ecb681c1a25a0f5a3811c195f61a3baa7512fef1460c40f

case $XBPS_TARGET_MACHINE in
# avoid numerical noise caused by extended-precision of registers
i686*) CXXFLAGS="-mfpmath=sse -msse2" ;;
esac

pre_configure() {
autoreconf -fi
}

lcalc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
Expand Down