void-packages/srcpkgs/nqp/template

22 lines
733 B
Bash

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