Alien-cmake3

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.06      2021-05-29 09:35:56 -0600
  - Fixed macOS download link which is of course broken with
    the old-is-new again universal binaries.
  - Added aarch64 links for ARM 64 Linux
  - Move to PerlAlien org

0.05      2019-11-14 09:39:19 -0500
  - Use binary version for darwin / OS X for share install

0.04      2017-10-05 11:45:14 -0400
  - use bootstral_ssl option on windows
    cmake3 may be a prereq for Alien::LibreSSL

0.03      2017-08-15 10:33:06 -0400
  - Improve documentation

0.02      2017-08-09 15:02:12 -0400
  - Fix copy for windows

0.01_01   2017-08-09 12:56:10 -0400
  - initial version

LICENSE  view on Meta::CPAN


Source code for a work means the preferred form of the work for making
modifications to it.  For an executable file, complete source code means
all the source code for all modules it contains; but, as a special
exception, it need not include source code for modules which are standard
libraries that accompany the operating system on which the executable
file runs, or for standard header files or definitions files that
accompany that operating system.

  4. You may not copy, modify, sublicense, distribute or transfer the
Program except as expressly provided under this General Public License.
Any attempt otherwise to copy, modify, sublicense, distribute or transfer
the Program is void, and will automatically terminate your rights to use
the Program under this License.  However, parties who have received
copies, or rights to use copies, from you under this General Public
License will not have their licenses terminated so long as such parties
remain in full compliance.

  5. By copying, distributing or modifying the Program (or any work based
on the Program) you indicate your acceptance of this license to do so,
and all its terms and conditions.

alienfile  view on Meta::CPAN

share {


  # For platforms where there is a binary release, use that:
  if($binary_release_name && !$ENV{ALIEN_CMAKE_FROM_SOURCE})
  {
    start_url 'https://cmake.org/files/v3.31/';
    plugin Download => (
      filter  => qr/^cmake-3\.[0-9\.]+-\Q$binary_release_name\E\.\Q$binary_format\E$/,
      version => qr/([0-9\.]+)/,
      ($^O eq 'MSWin32' ? (bootstrap_ssl => 1) : ()),
    );
    plugin Extract => $binary_format;
    if($^O eq 'MSWin32')
    {
      build sub {
        my($build) = @_;
        # This is a rare case where we actually want the borked windows
        # type paths with backslashes
        my $stage = File::Spec->catdir($build->install_prop->{stage});
        path($stage)->mkpath unless -d $stage;



( run in 0.581 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )