void-packages/srcpkgs/MoarVM/template

23 lines
845 B
Bash

# Template file for 'MoarVM'
pkgname=MoarVM
version=2024.10
revision=1
build_style=configure
configure_script="perl Configure.pl"
configure_args="--prefix=/usr --c11-atomics --has-libffi --has-libtommath
--has-libuv --has-mimalloc --mimalloc"
hostmakedepends="perl"
makedepends="libffi-devel libtommath-devel libuv-devel libzstd-devel
mimalloc-devel"
short_desc="VM with adaptive optimization and JIT compilation, built for Rakudo"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
license="Artistic-2.0"
homepage="https://moarvm.org"
changelog="https://github.com/MoarVM/MoarVM/raw/master/docs/ChangeLog"
distfiles="https://moarvm.org/releases/MoarVM-${version}.tar.gz"
checksum=055cfeefa3ea081039b75b2a89f6ea063cb3a489643e3dc8db8497a9a02372c9
nocross=yes
shlib_provides="libmoar.so"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/mimalloc-2.1"