void-packages/srcpkgs/rakudo/template
2019-12-05 11:42:58 +01:00

43 lines
1.7 KiB
Bash

# Template file for 'rakudo'
pkgname=rakudo
version=2019.11
revision=1
build_style=configure
make_check_target=test
make_install_args="RAKUDO_LOG_PRECOMP=1 RAKUDO_RERESOLVE_DEPENDENCIES=0"
configure_script="perl Configure.pl"
configure_args="--prefix=/usr --perl6-home=/usr/lib/perl6 --backends=moar"
make_dirs="
/usr/lib/perl6/bin 0755 root root
/usr/lib/perl6/core/bin 0755 root root
/usr/lib/perl6/core/resources 0755 root root
/usr/lib/perl6/lib 0755 root root
/usr/lib/perl6/resources 0755 root root
/usr/lib/perl6/site/bin 0755 root root
/usr/lib/perl6/site/dist 0755 root root
/usr/lib/perl6/site/precomp 0755 root root
/usr/lib/perl6/site/resources 0755 root root
/usr/lib/perl6/site/short 0755 root root
/usr/lib/perl6/site/sources 0755 root root
/usr/lib/perl6/vendor/bin 0755 root root
/usr/lib/perl6/vendor/dist 0755 root root
/usr/lib/perl6/vendor/precomp 0755 root root
/usr/lib/perl6/vendor/resources 0755 root root
/usr/lib/perl6/vendor/short 0755 root root
/usr/lib/perl6/vendor/sources 0755 root root"
hostmakedepends="perl"
makedepends="libatomic_ops-devel libffi-devel libuv-devel libzstd-devel nqp"
depends="nqp>=${version}_1"
short_desc="Production-ready, stable implementation of the Perl 6 language"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="Artistic-2.0"
homepage="https://rakudo.org"
changelog="https://github.com/rakudo/rakudo/raw/master/docs/ChangeLog"
distfiles="https://github.com/rakudo/rakudo/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=36e19160d7a8b5dd723e5602d851ccef9e4cf0970e1c67589bf88935ceb65531
nocross=yes
provides="perl6-${version}_${revision}"
post_install() {
vbin tools/install-dist.p6 perl6-install-dist
}