Help language development. Donate to The Perl Foundation

Sys::Lastlog cpan:JSTOWE last updated on 2020-02-12

src/Configure.pl6
#!perl6

use v6;

use LibraryMake;
use Shell::Command;

my $destdir = $*CWD.child("lib/../resources/libraries").Str;
my %vars = get-vars($destdir);
%vars<lastloghelper> = $*VM.platform-library-name('lastloghelper'.IO).Str;
my $src = $*CWD.child('src').Str;
mkpath "$destdir";
process-makefile($src, %vars);
my $goback = $*CWD;
chdir($src);
shell(%vars<MAKE>);
chdir($goback);