24 lines
702 B
Bash
24 lines
702 B
Bash
# Template file for 'mathcomp'
|
|
pkgname=mathcomp
|
|
version=1.19.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=786db902d904347f2108ffceae15ba29037ff8e63a6c58b87928f08671456394
|
|
nocross="ocaml"
|
|
|
|
post_patch() {
|
|
vsed -i -e 's/which/command -v/g' Makefile.common
|
|
}
|
|
|
|
do_install() {
|
|
make install DESTDIR="${DESTDIR}" 'COQLIB:=$(shell coqtop -where)/'
|
|
vlicense ../CeCILL-B
|
|
}
|