void-packages/srcpkgs/MoarVM/template

23 lines
845 B
Bash

# Template file for 'MoarVM'
pkgname=MoarVM
version=2024.07
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=625241fe1578341f6099784f0ea82a62b8a638855c3b8fa604d6ce9e5024fe29
nocross=yes
shlib_provides="libmoar.so"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/mimalloc-2.1"