ocaml-zarith: update to 1.13.

This commit is contained in:
Leah Neukirchen 2022-12-21 22:18:59 +01:00
parent 000bcb174f
commit 51a3680c8e

View file

@ -1,7 +1,7 @@
# Template file for 'ocaml-zarith' # Template file for 'ocaml-zarith'
pkgname=ocaml-zarith pkgname=ocaml-zarith
version=1.12 version=1.13
revision=4 revision=1
build_style=configure build_style=configure
make_check_target="tests" make_check_target="tests"
hostmakedepends="perl" hostmakedepends="perl"
@ -12,13 +12,16 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.0-only,OCaml-LGPL-linking-exception" license="LGPL-2.0-only,OCaml-LGPL-linking-exception"
homepage="https://github.com/ocaml/zarith" homepage="https://github.com/ocaml/zarith"
distfiles="https://github.com/ocaml/zarith/archive/release-${version}.tar.gz" distfiles="https://github.com/ocaml/zarith/archive/release-${version}.tar.gz"
checksum=cc32563c3845c86d0f609c86d83bf8607ef12354863d31d3bffc0dacf1ed2881 checksum=a5826d33fea0103ad6e66f92583d8e075fb77976de893ffdd73ada0409b3f83b
nocross=yes nocross=yes
disable_parallel_build=yes disable_parallel_build=yes
post_configure() { post_configure() {
sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile
} }
pre_install() {
mkdir -p ${DESTDIR}/usr/lib/ocaml/stublibs
}
post_install() { post_install() {
vcopy META usr/lib/ocaml/zarith vcopy META usr/lib/ocaml/zarith
} }