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