void-packages/srcpkgs/lcalc/template

30 lines
871 B
Bash

# Template file for 'lcalc'
pkgname=lcalc
version=2.0.5
revision=2
build_style=gnu-configure
configure_args="--with-pari"
hostmakedepends="automake libtool pkg-config 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=94efc160a2761de75df534707fd2ec53949c5389296d20ddbac1b285fe26d1ad
pre_configure() {
autoreconf -fi
}
lcalc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}