ocaml: update to 5.2.0

Closes: #50384 [via git-merge-pr]
This commit is contained in:
Kate 2024-05-17 14:12:08 +01:00 committed by Andrew Benson
parent 09408a4627
commit bb783d02bf

View file

@ -1,6 +1,6 @@
# Template file for 'ocaml'
pkgname=ocaml
version=5.1.1
version=5.2.0
revision=1
build_style="gnu-configure"
configure_args="--with-pic --libdir=/usr/lib/ocaml"
@ -10,16 +10,10 @@ short_desc="Main implementation of the OCaml language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="QPL-1.0, LGPL-2.1-only"
homepage="http://ocaml.org/"
distfiles="https://github.com/ocaml/ocaml/archive/${version}.tar.gz"
checksum=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17
distfiles="https://github.com/ocaml/ocaml/archive/refs/tags/${version}.tar.gz"
checksum=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911
nocross=yes
case "$XBPS_TARGET_MACHINE" in
# native code platforms
x86_64*|aarch64*|riscv64*) make_build_target="world.opt";;
*) make_build_target="world";;
esac
export ASPP="cc -c"
post_install() {