void-packages/srcpkgs/ocaml/template
Leah Neukirchen 298d08fab4 ocaml: update to 4.10.0.
We use --disable-force-safe-string else just too much stuff breaks.
2020-04-06 13:40:59 +02:00

28 lines
792 B
Bash

# Template file for 'ocaml'
pkgname=ocaml
version=4.10.0
revision=1
build_style="gnu-configure"
configure_args="--with-pic --disable-force-safe-string"
make_build_target="world.opt"
makedepends="ncurses-devel libX11-devel"
short_desc="Main implementation of the Caml language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="QPL-1.0, LGPL-2.1-only"
homepage="http://ocaml.org/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=58bae0f0a79daf86ec755a173e593fef4ef588f15c6185993af88ceb9722bc39
nocross=yes
patch_args="-Np1"
export ASPP="cc -c"
case "$XBPS_TARGET_MACHINE" in
# also just segfaults when compiled without PIE (BSS-PLT?)
ppc-musl) broken="/usr/bin/ocamlc: unsupported relocation type 6";;
esac
post_install() {
vlicense LICENSE
}