26 lines
754 B
Bash
26 lines
754 B
Bash
# Template file for 'ocaml-zarith'
|
|
pkgname=ocaml-zarith
|
|
version=1.11
|
|
revision=2
|
|
wrksrc="Zarith-release-${version}"
|
|
build_style=configure
|
|
make_check_target="tests"
|
|
hostmakedepends="perl"
|
|
makedepends="gmp-devel ocaml ocaml-findlib"
|
|
depends="gmp-devel"
|
|
short_desc="OCaml operations over arbitrary-precision integers"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.0-only,OCaml-LGPL-linking-exception"
|
|
homepage="https://github.com/ocaml/zarith"
|
|
distfiles="https://github.com/ocaml/zarith/archive/release-${version}.tar.gz"
|
|
checksum=f996af120a10fd06a8272ae99b7affd57cef49c57a3a596e2f589147dd183684
|
|
nocross=yes
|
|
disable_parallel_build=yes
|
|
|
|
post_configure() {
|
|
sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile
|
|
}
|
|
pre_install() {
|
|
vmkdir usr/lib/ocaml
|
|
}
|