void-packages/srcpkgs/mathcomp/template

20 lines
633 B
Bash

# Template file for 'mathcomp'
pkgname=mathcomp
version=1.16.0
revision=1
build_wrksrc="mathcomp"
build_style=gnu-makefile
hostmakedepends="coq ocaml-findlib"
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=36fe4f5487f4685db9c6e6affa92abb47248440e6d4dfaaa01ab31df5fd4b513
nocross="ocaml"
do_install() {
make install DESTDIR="${DESTDIR}" 'COQLIB:=$(shell coqtop -where)/'
vlicense ../CeCILL-B
}