50 lines
1.7 KiB
Bash
50 lines
1.7 KiB
Bash
# Template file for 'rakudo'
|
|
pkgname=rakudo
|
|
version=2024.06
|
|
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="git perl"
|
|
makedepends="libffi-devel libtommath-devel libuv-devel libzstd-devel
|
|
mimalloc-devel nqp"
|
|
depends="nqp-${version}_${revision}"
|
|
short_desc="Mature, production-ready implementation of the Raku language"
|
|
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
|
|
license="Artistic-2.0"
|
|
homepage="https://rakudo.org"
|
|
changelog="https://github.com/rakudo/rakudo/raw/master/docs/ChangeLog"
|
|
distfiles="https://rakudo.org/dl/rakudo/rakudo-${version}.tar.gz"
|
|
checksum=467959f9d1e6c69e39089b5ae090fd100762b71deeb7ba594631407c34f5202f
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*|aarch64*) disable_parallel_build=yes;;
|
|
esac
|
|
nocross=yes
|
|
provides="raku-${version}_${revision}"
|
|
|
|
post_extract() {
|
|
# remove failing test
|
|
rm --force t/09-moar/01-profilers.t
|
|
}
|
|
|
|
post_install() {
|
|
vbin tools/install-dist.raku raku-install-dist
|
|
}
|