Alien-ghostunnel

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN


  if($asset_name)
  {
    my $exe = "ghostunnel";
    $exe .= ".exe" if $^O eq 'MSWin32';

    my @build = (
      '%{make_path} %{.install.prefix}/bin',
      "%{cp} %{.install.extract}/$asset_name %{.install.prefix}/bin/$exe",
    );
    push @build, "chmod +x %{.install.prefix}/bin/$exe" unless $^O eq 'MSWin32';

    build \@build;
  }
  elsif(my $go = which('go'))
  {
    plugin 'Build::Make' => 'umake';
    Alien::Build->log("no binary for your platform must build from source");
    build [
      '%{make} ghostunnel',
      '%{make_path} %{.install.prefix}/bin',



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