Alien-autoconf

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

          $exe->chmod("0755");
        }
      }

      # patch autom4te config
      {
        my $orig = Path::Tiny->new('share/autoconf/autom4te.cfg');
        my $new  = Path::Tiny->new('share/autoconf/autom4te.blib.cfg');
        my $stage = Path::Tiny->new($build->install_prop->{stage})->child('share/autoconf')->stringify;
        $orig->copy($new);
        $new->edit_lines(sub {
          s/--prepend-include '(.*)'/--prepend-include '$stage'/;
        });
      }

      # script to compute path to autoconf root
      {
        my $exe = Path::Tiny->new('bin/alien_autoconf_root');
        my $perl = $ENV{PERL} || '/usr/bin/perl';
        $exe->spew(
          "#!$perl\n",



( run in 0.316 second using v1.01-cache-2.11-cpan-de7293f3b23 )