From a7c12f2b775b94e450853ab6f115169a826e2288 Mon Sep 17 00:00:00 2001 From: axetwe Date: Thu, 27 Nov 2014 20:47:24 +0000 Subject: [PATCH] New package: rakudo-star --- srcpkgs/rakudo-star/files/rakudo-star.sh | 1 + srcpkgs/rakudo-star/template | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 srcpkgs/rakudo-star/files/rakudo-star.sh create mode 100644 srcpkgs/rakudo-star/template diff --git a/srcpkgs/rakudo-star/files/rakudo-star.sh b/srcpkgs/rakudo-star/files/rakudo-star.sh new file mode 100644 index 00000000000..9185ba9a251 --- /dev/null +++ b/srcpkgs/rakudo-star/files/rakudo-star.sh @@ -0,0 +1 @@ +export PATH="$PATH:/usr/lib/perl6/bin" diff --git a/srcpkgs/rakudo-star/template b/srcpkgs/rakudo-star/template new file mode 100644 index 00000000000..635e7e19c7c --- /dev/null +++ b/srcpkgs/rakudo-star/template @@ -0,0 +1,21 @@ +# Template build file for 'rakudo-star'. +pkgname=rakudo-star +version=2014.09 +wrksrc="rakudo-star-${version}" +revision=1 +build_style=configure +configure_script="perl Configure.pl" +configure_args="--prefix=/usr/lib/perl6 --backends=moar" +hostmakedepends="perl>=5.20 moarvm>=2014.09 nqp>=2014.09" +makedepends="${hostmakedepends}" +depends="moarvm>=2014.09 nqp>=2014.09" +short_desc="Rakudo is an implementation of Perl 6 language" +maintainer="Ruslan " +homepage="http://rakudo.org" +license="Artistic-2.0" +distfiles="http://rakudo.org/downloads/star/rakudo-star-2014.09.tar.gz" +checksum=e7cfc6f4d92d9841f03246d68d51ed54d48df08736b0bd73626fe45196498649 + +post_install() { + vinstall ${FILESDIR}/rakudo-star.sh 644 etc/profile.d +}