ocaml-zarith: don't use ocaml-findlib.

It installs the stublibs into the libdir, not where dune can find them...
This commit is contained in:
Leah Neukirchen 2022-02-18 15:51:37 +01:00
parent 71ac5a5ba9
commit b5139c5dae
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'ocaml-zarith'
pkgname=ocaml-zarith
version=1.12
revision=2
revision=3
wrksrc="Zarith-release-${version}"
build_style=configure
make_check_target="tests"
hostmakedepends="perl"
makedepends="gmp-devel ocaml ocaml-findlib"
makedepends="gmp-devel ocaml"
depends="gmp-devel"
short_desc="OCaml operations over arbitrary-precision integers"
maintainer="Leah Neukirchen <leah@vuxu.org>"
@ -20,6 +20,6 @@ disable_parallel_build=yes
post_configure() {
sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile
}
pre_install() {
vmkdir usr/lib/ocaml
post_install() {
vcopy META usr/lib/ocaml/zarith
}