Alien-Proj4

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

  build [
    "%{configure} $with_local $with_cpp11 $build_static",
    $make_cmd,
    $make_inst_cmd,
    #@make_clean
  ];

};

gather [
    \&rename_la_files,
];

sub rename_la_files {
    #  need to return if not share
    return if !$on_windows;
    
    use File::Find::Rule;
    my @la_files
      = File::Find::Rule->file()
                        ->name( '*.la' )
                        ->in( '.' );
    foreach my $file (@la_files) {
        say "Renaming $file so it will not intefere with gdal compilation";
        rename $file, $file . '.bak';
    }

}


sub get_proj_version {
    my $h = get_alien_state_hash();
    return $h->{runtime}{version};
}



( run in 0.311 second using v1.01-cache-2.11-cpan-131fc08a04b )