void-packages/srcpkgs/nqp/template

22 lines
748 B
Bash

# Template file for 'nqp'
pkgname=nqp
version=2024.07
revision=1
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=ab13f2de962817bfedc971088aa6b54911c424150dc284623444ef64878af07e
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) disable_parallel_build=yes;;
esac
nocross=yes