perl/rakudo: Updated for version 2019.11.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andreas Voegele 2019-12-01 00:55:57 +07:00 committed by Willy Sudiarto Raharjo
parent d1eeb3b329
commit bf62be74b8
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 32 additions and 17 deletions

View file

@ -1,18 +1,17 @@
Rakudo Perl 6 is a production-ready, stable implementation of the Perl Rakudo is an implementation of the Raku programming language.
6 programming language.
Information on Perl 6 can be found at https://www.perl6.org/. Information on Raku can be found at https://raku.org/.
Install the perl6-Readline package or rlwrap to enable command line
editing in the perl6 interpreter.
Optional Dependencies Optional Dependencies
Install the zef package manager to manage your Perl 6 modules. Install the raku-Readline package or rlwrap to enable command line
editing in the Rakudo interpreter.
Install the zef package manager to manage your Raku modules.
By default, Rakudo is built with support for MoarVM. The JVM backend is By default, Rakudo is built with support for MoarVM. The JVM backend is
experimental and requires JDK 8. experimental and requires a recent JDK.
BACKENDS=moar,jvm ./rakudo.SlackBuild BACKENDS=moar,jvm ./rakudo.SlackBuild

View file

@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=rakudo PRGNAM=rakudo
VERSION=${VERSION:-2019.07.1} VERSION=${VERSION:-2019.11}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -78,9 +78,25 @@ if [ "${MAKETEST:-no}" = "yes" ]; then
fi fi
env -u LD_PRELOAD make install DESTDIR=$PKG env -u LD_PRELOAD make install DESTDIR=$PKG
if [ -e $PKG/usr/bin/rakudo ]; then
ln -sf rakudo $PKG/usr/bin/raku
fi
if [ -e $PKG/usr/bin/rakudo-debug ]; then
ln -sf rakudo-debug $PKG/usr/bin/raku-debug
fi
for i in $PKG/usr/bin/perl6*; do
j=$(basename $i | sed 's/perl6/rakudo/')
if [ -e $PKG/usr/bin/$j ]; then
ln -sf $j $i
fi
done
# Arch Linux uses the name perl6-install-dist. # Arch Linux uses the name perl6-install-dist.
cp tools/install-dist.p? $PKG/usr/bin/perl6-install-dist cp tools/install-dist.p? $PKG/usr/bin/raku-install-dist
chmod 755 $PKG/usr/bin/perl6-install-dist chmod 755 $PKG/usr/bin/raku-install-dist
ln -s raku-install-dist $PKG/usr/bin/perl6-install-dist
# Create rakudo.csh and rakudo.sh in /etc/profile.d. # Create rakudo.csh and rakudo.sh in /etc/profile.d.
BINDIRS='$HOME/.perl6/bin:/usr/share/perl6/site/bin:/usr/share/perl6/vendor/bin' BINDIRS='$HOME/.perl6/bin:/usr/share/perl6/site/bin:/usr/share/perl6/vendor/bin'

View file

@ -1,8 +1,8 @@
PRGNAM="rakudo" PRGNAM="rakudo"
VERSION="2019.07.1" VERSION="2019.11"
HOMEPAGE="https://rakudo.org/" HOMEPAGE="https://rakudo.org/"
DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2019.07.1/rakudo-2019.07.1.tar.gz" DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2019.11/rakudo-2019.11.tar.gz"
MD5SUM="0cc21e2cccd5b16edfa0cf9f256b772d" MD5SUM="a9ac5b2687aaa5e91f5b609cf63274da"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="nqp" REQUIRES="nqp"

View file

@ -6,10 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
rakudo: rakudo (compiler for the Perl 6 programming language) rakudo: rakudo (compiler for the Raku programming language)
rakudo: rakudo:
rakudo: Rakudo Perl 6 is a production-ready, stable implementation of the Perl rakudo: Rakudo is an implementation of the Raku programming language.
rakudo: 6 programming language.
rakudo: rakudo:
rakudo: Homepage: https://rakudo.org/ rakudo: Homepage: https://rakudo.org/
rakudo: rakudo:
@ -17,3 +16,4 @@ rakudo:
rakudo: rakudo:
rakudo: rakudo:
rakudo: rakudo:
rakudo: