aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjnthn <jnthn@jnthn.net>2012-01-24 11:44:47 +0100
committerjnthn <jnthn@jnthn.net>2012-01-24 11:45:07 +0100
commit4d4d21757431bcf38d1f4993b51876aaace81ca9 (patch)
treee8e23cc76272b0b26328cf1ca56ab0c2f9d9b2e9
parent2abd837abc3de1f7011b19b7e8906f36d3fb171e (diff)
Try to update Star Makefile to grab NQP releases also; untesed.
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aad5c64..743996e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
PARROT_VER = 3.11.0
PARROT_REL = supported/$(PARROT_VER)
+NQP_VER = 2012.01
RAKUDO_VER = 2012.01
DISTDIR = rakudo-star-$(VERSION)
@@ -8,6 +9,10 @@ PARROT = parrot-$(PARROT_VER)
PARROT_TGZ = $(PARROT).tar.gz
PARROT_DIR = $(DISTDIR)/$(PARROT)
+NQP = nqp-$(NQP_VER)
+NQP_TGZ = $(NQP).tar.gz
+NQP_DIR = $(DISTDIR)/$(NQP)
+
RAKUDO_DIR = $(DISTDIR)/rakudo
RAKUDO_TGZ = rakudo-$(RAKUDO_VER).tar.gz
BUILD_DIR = $(DISTDIR)/build
@@ -38,6 +43,7 @@ MODULES = \
DISTTARGETS = \
$(PARROT_DIR) \
+ $(NQP_DIR) \
$(RAKUDO_DIR) \
$(MODULES_DIR) \
$(BUILD_DIR)/PARROT_REVISION \
@@ -60,6 +66,12 @@ $(PARROT_DIR): $(PARROT_TGZ)
$(PARROT_TGZ):
wget http://ftp.parrot.org/releases/$(PARROT_REL)/$(PARROT_TGZ)
+$(NQP_DIR): $(NQP_TGZ)
+ tar -C $(DISTDIR)/$(NQP) -xvzf $(NQP_TGZ)
+
+$(NQP_TGZ):
+ wget --no-check-certificate https://github.com/downloads/perl6/nqp/$(NQP_TGZ)
+
$(RAKUDO_DIR): $(RAKUDO_TGZ)
tar -C $(DISTDIR) -xvzf $(RAKUDO_TGZ)
mv $(DISTDIR)/rakudo-$(RAKUDO_VER) $(RAKUDO_DIR)