# Template file for 'nqp'
pkgname=nqp
version=2026.03
revision=2
build_style=configure
make_check_target=test
configure_script="perl Configure.pl"
configure_args="--prefix=/usr --backends=moar"
hostmakedepends="git perl"
makedepends="MoarVM libffi-devel libtommath-devel libuv-devel mimalloc-devel"
depends="MoarVM-${version}_${revision}"
short_desc="Lightweight Raku-like environment for virtual machines"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
license="Artistic-2.0"
homepage="https://github.com/Raku/nqp"
distfiles="https://rakudo.org/dl/nqp/nqp-${version}.tar.gz"
checksum=e7c15fcb5a77a6b5295dba68a9bd3a2d3151a66851e1f82f7e8e701741c97da5
case "$XBPS_TARGET_MACHINE" in
	arm*|aarch64*) disable_parallel_build=yes;;
esac
nocross=yes
