void-packages/srcpkgs/mathcomp/template
2022-04-14 19:43:53 +02:00

20 lines
658 B
Bash

# Template file for 'mathcomp'
pkgname=mathcomp
version=1.14.0
revision=2
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=d259cc95a2f8f74c6aa5f3883858c9b79c6e87f769bde9a415115fa4876ebb31
nocross="ocaml"
do_install() {
make install DESTDIR="${DESTDIR}" 'COQLIB:=$(shell coqtop -where)/'
vlicense ../CeCILL-B
}