void-packages/srcpkgs/lcalc/template

30 lines
871 B
Bash
Raw Normal View History

2018-02-01 19:32:51 +00:00
# Template file for 'lcalc'
pkgname=lcalc
2021-12-13 02:48:01 +00:00
version=2.0.4
revision=1
build_style=gnu-configure
configure_args="--with-pari"
hostmakedepends="automake libtool pkg-config gengetopt"
2018-02-01 19:32:51 +00:00
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"
2021-12-13 02:48:01 +00:00
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=28b9d33307d0aa002accf6950fa4547df8c6764df8d025bc8523aa857423417b
2018-02-01 19:32:51 +00:00
2021-12-13 02:48:01 +00:00
pre_configure() {
autoreconf -fi
2018-02-01 19:32:51 +00:00
}
lcalc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
2021-12-13 02:48:01 +00:00
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
2018-02-01 19:32:51 +00:00
}
}