void-packages/srcpkgs/mathcomp/template

21 lines
658 B
Bash

# Template file for 'mathcomp'
pkgname=mathcomp
version=1.10.0
revision=1
wrksrc="math-comp-mathcomp-${version}"
build_wrksrc="mathcomp"
build_style=gnu-makefile
hostmakedepends="coq"
short_desc="The 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=3f8a88417f3456da05e2755ea0510c1bd3fd13b13c41e62fbaa3de06be040166
nocross=yes
do_install() {
make install DESTDIR="${DESTDIR}" 'COQLIB:=$(shell coqtop -where)/'
vlicense ../CeCILL-B
}