void-packages/srcpkgs/mathcomp/template
2019-04-08 20:51:03 +02:00

20 lines
657 B
Bash

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