void-packages/srcpkgs/mathcomp/template
2019-01-21 16:38:11 +01:00

20 lines
657 B
Bash

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