diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2021-05-21 14:40:30 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2021-05-21 14:40:30 -0500 |
| commit | 3e8b2f88fe898c08b324204241c612778e68674f (patch) | |
| tree | e12667d68893e7a3701846e00b0acc9118ba766a | |
| parent | c8c6957f3c521f34a8d7747f3a33b90f9c614aad (diff) | |
perlbrew
| -rw-r--r-- | perl/Makefile | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/perl/Makefile b/perl/Makefile index bbdd4a5..901bb4c 100644 --- a/perl/Makefile +++ b/perl/Makefile @@ -35,6 +35,58 @@ pkgs: build-essential \ libdevel-repl-perl +.PHONY: libs libs: pkgs -libs: cpanm -n Mojo::Redis Test2::Harness Perl::Critic::TooMuchCode Dist::Zilla::Plugin::RewriteVersion Dist::Zilla::PluginBundle::Basic Mojolicious Crypt::Argon2 Object::Pad Perl::Tidy::Sweetened App::Ack + +.PHONY: brew-pkgs +brew-pkgs: + sudo apt install -y \ + perlbrew \ + ca-certificates \ + libssl1.1 \ + libssl-dev \ + zlib1g-dev \ + libreadline-dev \ + libreadline8 \ + readline-common \ + sqlite3 \ + libsqlite3-0 \ + libsqlite3-dev + +export PERL_MM_USE_DEFAULT=1 + +PHONY: brew +brew: brew-pkgs + perlbrew init && \ + perlbrew install perl-5.34.0 && \ + cpan install App::cpanminus + +PHONY: brew-libs +brew-libs: + cpanm -n \ + Term::ReadLine::Gnu \ + Mojolicious \ + Test2::Suite \ + Test2::Harness \ + Object::Pad \ + Perl::Tidy \ + Perl::Critic \ + Perl::Critic::TooMuchCode \ + Perl::Tidy::Sweetened \ + List::AllUtils \ + multidimensional \ + indirect \ + bareword::filehandles \ + DBI \ + Devel::REPL \ + Crypt::Argon2 \ + DBD::SQLite \ + Mojo::SQLite \ + Cpanel::JSON::XS \ + CryptX \ + Crypt::JWT \ + EV \ + IO::Socket::Socks \ + IO::Socket::SSL \ + strictures |
