35 lines
896 B
Bash
35 lines
896 B
Bash
# Template file for 'coq'
|
|
pkgname=coq
|
|
version=8.15.1
|
|
revision=2
|
|
hostmakedepends="camlp5 dune ocaml ocaml-findlib ocaml-num ocaml-zarith"
|
|
short_desc="Proof assistant written in OCaml"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://coq.inria.fr"
|
|
distfiles="https://github.com/coq/coq/archive/V${version}.tar.gz"
|
|
checksum=513e953b7183d478acb75fd6e80e4dc32ac1a918cf4343ac31a859cfb4e9aad2
|
|
nopie=yes
|
|
nocross=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) ;;
|
|
ppc*) broken="R_PPC_REL24 relocation out of range";;
|
|
esac
|
|
|
|
post_patch() {
|
|
vsed -i -e 's/which/command -v/g' dev/tools/make_git_revision.sh
|
|
}
|
|
|
|
do_configure() {
|
|
./configure -prefix /usr -coqide no
|
|
}
|
|
|
|
do_build() {
|
|
dune build --display=short -p coq-core,coq-stdlib
|
|
}
|
|
|
|
do_install() {
|
|
dune install coq-core coq-stdlib --prefix=/usr --destdir="$DESTDIR" \
|
|
--mandir=/usr/share/man --docdir=/usr/share/doc
|
|
}
|