diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2019-12-01 00:55:57 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-01 01:08:31 +0700 |
commit | bf62be74b806213aaa83341b87725b332ea8fd9f (patch) | |
tree | 2e82d9efdcddb70d3c06b815123fa2babdef9d2c /perl | |
parent | d1eeb3b329d51c8a859824abf9f1b1c419a1b6aa (diff) | |
download | slackbuilds-bf62be74b806213aaa83341b87725b332ea8fd9f.tar.gz |
perl/rakudo: Updated for version 2019.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/rakudo/README | 15 | ||||
-rw-r--r-- | perl/rakudo/rakudo.SlackBuild | 22 | ||||
-rw-r--r-- | perl/rakudo/rakudo.info | 6 | ||||
-rw-r--r-- | perl/rakudo/slack-desc | 6 |
4 files changed, 32 insertions, 17 deletions
diff --git a/perl/rakudo/README b/perl/rakudo/README index d4f9d1e00f..7e1db1833f 100644 --- a/perl/rakudo/README +++ b/perl/rakudo/README @@ -1,18 +1,17 @@ -Rakudo Perl 6 is a production-ready, stable implementation of the Perl -6 programming language. +Rakudo is an implementation of the Raku programming language. -Information on Perl 6 can be found at https://www.perl6.org/. - -Install the perl6-Readline package or rlwrap to enable command line -editing in the perl6 interpreter. +Information on Raku can be found at https://raku.org/. 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 -experimental and requires JDK 8. +experimental and requires a recent JDK. BACKENDS=moar,jvm ./rakudo.SlackBuild diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index 6e515a893f..2d5fee4d31 100644 --- a/perl/rakudo/rakudo.SlackBuild +++ b/perl/rakudo/rakudo.SlackBuild @@ -17,7 +17,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=rakudo -VERSION=${VERSION:-2019.07.1} +VERSION=${VERSION:-2019.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,9 +78,25 @@ if [ "${MAKETEST:-no}" = "yes" ]; then fi 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. -cp tools/install-dist.p? $PKG/usr/bin/perl6-install-dist -chmod 755 $PKG/usr/bin/perl6-install-dist +cp tools/install-dist.p? $PKG/usr/bin/raku-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. BINDIRS='$HOME/.perl6/bin:/usr/share/perl6/site/bin:/usr/share/perl6/vendor/bin' diff --git a/perl/rakudo/rakudo.info b/perl/rakudo/rakudo.info index 64f2962f16..19dcf01d4d 100644 --- a/perl/rakudo/rakudo.info +++ b/perl/rakudo/rakudo.info @@ -1,8 +1,8 @@ PRGNAM="rakudo" -VERSION="2019.07.1" +VERSION="2019.11" HOMEPAGE="https://rakudo.org/" -DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2019.07.1/rakudo-2019.07.1.tar.gz" -MD5SUM="0cc21e2cccd5b16edfa0cf9f256b772d" +DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2019.11/rakudo-2019.11.tar.gz" +MD5SUM="a9ac5b2687aaa5e91f5b609cf63274da" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nqp" diff --git a/perl/rakudo/slack-desc b/perl/rakudo/slack-desc index cf1404e960..2302e01eba 100644 --- a/perl/rakudo/slack-desc +++ b/perl/rakudo/slack-desc @@ -6,10 +6,9 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -rakudo: rakudo (compiler for the Perl 6 programming language) +rakudo: rakudo (compiler for the Raku programming language) rakudo: -rakudo: Rakudo Perl 6 is a production-ready, stable implementation of the Perl -rakudo: 6 programming language. +rakudo: Rakudo is an implementation of the Raku programming language. rakudo: rakudo: Homepage: https://rakudo.org/ rakudo: @@ -17,3 +16,4 @@ rakudo: rakudo: rakudo: rakudo: +rakudo: |