27 lines
770 B
Bash
27 lines
770 B
Bash
# Template file for 'ocaml'
|
|
pkgname=ocaml
|
|
version=4.14.0
|
|
revision=2
|
|
build_style="gnu-configure"
|
|
configure_args="--with-pic --libdir=/usr/lib/ocaml"
|
|
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=39f44260382f28d1054c5f9d8bf4753cb7ad64027da792f7938344544da155e8
|
|
nocross=yes
|
|
|
|
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
|
|
}
|