void-packages/srcpkgs/mathcomp/template
2021-10-20 17:05:57 +02:00

19 lines
642 B
Bash

# Template file for 'mathcomp'
pkgname=mathcomp
version=1.12.0
revision=6
wrksrc="math-comp-mathcomp-${version}"
build_wrksrc="mathcomp"
build_style=gnu-makefile
hostmakedepends="coq"
short_desc="Mathematical Components Library for the Coq proof assistant"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="CECILL-B"
homepage="https://github.com/math-comp/math-comp"
distfiles="https://github.com/math-comp/math-comp/archive/${pkgname}-${version}.tar.gz"
checksum=a57b79a280e7e8527bf0d8710c1f65cde00032746b52b87be1ab12e6213c9783
do_install() {
make install DESTDIR="${DESTDIR}" 'COQLIB:=$(shell coqtop -where)/'
vlicense ../CeCILL-B
}