b5139c5dae
It installs the stublibs into the libdir, not where dune can find them...
25 lines
752 B
Bash
25 lines
752 B
Bash
# Template file for 'ocaml-zarith'
|
|
pkgname=ocaml-zarith
|
|
version=1.12
|
|
revision=3
|
|
wrksrc="Zarith-release-${version}"
|
|
build_style=configure
|
|
make_check_target="tests"
|
|
hostmakedepends="perl"
|
|
makedepends="gmp-devel ocaml"
|
|
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=cc32563c3845c86d0f609c86d83bf8607ef12354863d31d3bffc0dacf1ed2881
|
|
nocross=yes
|
|
disable_parallel_build=yes
|
|
|
|
post_configure() {
|
|
sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile
|
|
}
|
|
post_install() {
|
|
vcopy META usr/lib/ocaml/zarith
|
|
}
|