28 lines
764 B
Bash
28 lines
764 B
Bash
# Template file for 'ocaml'
|
|
pkgname=ocaml
|
|
version=4.09.0
|
|
revision=1
|
|
build_style="gnu-configure"
|
|
configure_args="--with-pic"
|
|
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=a7bc044167e7d09f8e3ea84b88ec9d81392908ecdac861d3d5015e5f0fc496a3
|
|
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
|
|
}
|