1234567891011121314 |
- #!/bin/bash
- RETCODE=$(fw_exists perl-5.18)
- [ ! "$RETCODE" == 0 ] || { return 0; }
- fw_get https://raw.github.com/tokuhirom/Perl-Build/master/perl-build -O perl-build.pl
- # compile with optimizations, n.b. this does not turn on debugging
- perl perl-build.pl -DDEBUGGING=-g 5.18.2 perl-5.18
- fw_get http://cpanmin.us -O cpanminus.pl
- perl-5.18/bin/perl cpanminus.pl --notest --no-man-page App::cpanminus
- # Install only a bare-bones of Perl modules
- # Install others in the per-framework install script or cpanfile
- perl-5.18/bin/cpanm -f --notest --no-man-page JSON JSON::XS IO::Socket::IP IO::Socket::SSL
|