void-packages/srcpkgs/nqp/template

22 lines
733 B
Bash

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