Alien-libtool

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

        my $perl = $ENV{PERL} || '/usr/bin/perl';
        $exe->spew(
          "#!$perl\n",
          "use File::Spec;\n",
          "my(\$v,\$d) = File::Spec->splitpath(File::Spec->rel2abs(__FILE__));\n",
          "my \@d = File::Spec->splitdir(\$d);\n",
          "pop \@d for 1..2;\n",
          "my \$dist_dir = File::Spec->catpath(\$v,File::Spec->catdir(\@d), '');\n",
          "print \$dist_dir\n",
        );
        $exe->chmod('0700');
      }
    },
  );
};

sys {

  gather sub {
    my($build) = @_;
    $build->runtime_prop->{version} = $build->install_prop->{my_version};



( run in 0.260 second using v1.01-cache-2.11-cpan-496ff517765 )