Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

107 lines (84 sloc) 3.054 kB
PARROT_VER = 4.5.0
PARROT_REL = devel/$(PARROT_VER)
NQP_VER = 2012.06.1
RAKUDO_VER = 2012.06
DISTDIR = rakudo-star-$(VERSION)
BUILD_DIR = $(DISTDIR)/build
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 = rakudo-$(RAKUDO_VER)
RAKUDO_TGZ = $(RAKUDO).tar.gz
RAKUDO_DIR = $(DISTDIR)/$(RAKUDO)
## If you add a module here, don't forget to update MODULES
## in skel/tools/build/Makefile.in to actually install it
MODULES_DIR = $(DISTDIR)/modules
MODULES = \
git://github.com/masak/ufo \
git://github.com/jnthn/zavolaj \
git://github.com/masak/xml-writer \
git://github.com/moritz/svg \
git://github.com/moritz/Math-RungeKutta \
git://github.com/moritz/svg-plot \
git://github.com/moritz/Math-Model \
git://github.com/tadzik/perl6-Term-ANSIColor \
git://github.com/jnthn/test-mock \
git://github.com/perlpilot/Grammar-Profiler-Simple \
git://github.com/jnthn/grammar-debugger \
git://github.com/moritz/json \
git://github.com/snarkyboojum/Perl6-MIME-Base64 \
git://github.com/cosimo/perl6-digest-md5 \
git://github.com/tadzik/perl6-File-Tools \
git://github.com/tadzik/panda \
git://github.com/supernovus/perl6-http-status \
git://github.com/supernovus/perl6-http-easy \
git://github.com/tadzik/Bailador \
git://github.com/perl6/DBIish \
git://github.com/ihrd/uri \
git://github.com/cosimo/perl6-lwp-simple \
git://github.com/bbkr/jsonrpc \
git://github.com/perl6/Pod-To-HTML \
git://github.com/perl6/doc \
DISTTARGETS = \
$(PARROT_DIR) \
$(NQP_DIR) \
$(RAKUDO_DIR) \
$(MODULES_DIR) \
star-patches \
$(DISTDIR)/MANIFEST \
dist: version_check $(DISTDIR) $(DISTTARGETS)
version_check:
@[ -n "$(VERSION)" ] || ( echo "\nTry 'make release VERSION=yyyy.mm'\n\n"; exit 1)
always:
$(DISTDIR): always
mkdir -p $(DISTDIR)
cp -av skel/. $(DISTDIR)
perl build/skel-template.pl $(DISTDIR)
$(PARROT_DIR): $(PARROT_TGZ)
tar -C $(DISTDIR) -xvzf $(PARROT_TGZ)
$(PARROT_TGZ):
wget http://ftp.parrot.org/releases/$(PARROT_REL)/$(PARROT_TGZ)
$(NQP_DIR): $(NQP_TGZ)
tar -C $(DISTDIR) -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)
$(RAKUDO_TGZ):
wget --no-check-certificate https://github.com/downloads/rakudo/rakudo/$(RAKUDO_TGZ)
$(MODULES_DIR): always
mkdir -p $(MODULES_DIR)
cd $(MODULES_DIR); for repo in $(MODULES); do git clone $$repo.git; done
# cd $(MODULES_DIR)/yaml-pm6; git checkout rakudo-star-1
star-patches:
[ ! -f build/$(VERSION)-patch.pl ] || DISTDIR=$(DISTDIR) perl build/$(VERSION)-patch.pl
$(DISTDIR)/MANIFEST:
touch $(DISTDIR)/MANIFEST
find $(DISTDIR) -name '.git' -prune -o -type f -print | sed -e 's|^[^/]*/||' | sort >$(DISTDIR)/MANIFEST
release: dist tarball
tarball:
perl -ne 'print "$(DISTDIR)/$$_"' $(DISTDIR)/MANIFEST |\
tar -zcv -T - -f $(DISTDIR).tar.gz
Jump to Line
Something went wrong with that request. Please try again.