void-packages/srcpkgs/rakudo/template
2020-02-05 09:58:27 +01:00

40 lines
1.5 KiB
Bash

# Template file for 'rakudo'
pkgname=rakudo
version=2020.01
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 --rakudo-home=/usr/lib/raku --backends=moar"
make_dirs="
/usr/lib/raku/core/bin 0755 root root
/usr/lib/raku/core/resources 0755 root root
/usr/lib/raku/site/bin 0755 root root
/usr/lib/raku/site/dist 0755 root root
/usr/lib/raku/site/precomp 0755 root root
/usr/lib/raku/site/resources 0755 root root
/usr/lib/raku/site/short 0755 root root
/usr/lib/raku/site/sources 0755 root root
/usr/lib/raku/vendor/bin 0755 root root
/usr/lib/raku/vendor/dist 0755 root root
/usr/lib/raku/vendor/precomp 0755 root root
/usr/lib/raku/vendor/resources 0755 root root
/usr/lib/raku/vendor/short 0755 root root
/usr/lib/raku/vendor/sources 0755 root root"
hostmakedepends="perl"
makedepends="libatomic_ops-devel libffi-devel libuv-devel libzstd-devel nqp"
depends="nqp-${version}_${revision}"
short_desc="Mature, production-ready implementation of the Raku 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://rakudo.org/dl/rakudo/${pkgname}-${version}.tar.gz"
checksum=2e02fcfca2f79ec6bd2dc0f0840ae108ec76f030f3080aa47f23f80f92b6c3b0
nocross=yes
provides="raku-${version}_${revision}"
post_install() {
vbin tools/install-dist.p6 raku-install-dist
}