Alien-MSYS

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

{
   "abstract" : "Tools required for GNU style configure scripts on Windows",
   "author" : [
      "Graham Ollis <plicease@cpan.org>"
   ],
   "dynamic_config" : 1,
   "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

---
abstract: 'Tools required for GNU style configure scripts on Windows'
author:
  - 'Graham Ollis <plicease@cpan.org>'
build_requires:
  Alien::Build: '0.99'
  Alien::Build::MM: '0.32'
  ExtUtils::MakeMaker: '7.38'
  File::chdir: '0'
  Test2::V0: '0.000121'
  Test::Alien::Build: '0'
  perl: '5.008001'

Makefile.PL  view on Meta::CPAN

    exit;
  }
}
# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.72.
use strict;
use warnings;
use 5.008001;
use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT"       => "Tools required for GNU style configure scripts on Windows",
  "AUTHOR"         => "Graham Ollis <plicease\@cpan.org>",
  "BUILD_REQUIRES" => {
    "Alien::Build"        => "0.99",
    "Alien::Build::MM"    => "0.32",
    "ExtUtils::MakeMaker" => "7.38"
  },
  "CONFIGURE_REQUIRES" => {
    "Alien::Build"                              => "0.99",
    "Alien::Build::MM"                          => "0.32",
    "Alien::Build::Plugin::Decode::SourceForge" => 0,

README  view on Meta::CPAN

NAME

    Alien::MSYS - Tools required for GNU style configure scripts on Windows

VERSION

    version 0.17

SYNOPSIS

    from Perl:

     use Alien::MSYS;
     # runs uname from MSYS
     my $uname = msys { `uname` };

    From Prompt/Makefile

     C:\> perl -MAlien::MSYS -e Alien::MSYS::msys_run uname

DESCRIPTION

    MSYS provides minimal shell and POSIX tools on Windows to enable GNU
    style configure scripts to run (the type usually generated by
    autoconf). This module aims to provide an interface for using MSYS on
    Windows and act as a no-op on Unix like operating systems which already
    have that capability. If you use this module, I recommend that you list
    this as a prerequisite only during MSWin32 installs.

    When installing, this distribution will look for an existing MSYS using
    the following methods in this order:

    environment variable ALIEN_INSTALL_TYPE or ALIEN_MSYS_INSTALL_TYPE

corpus/config.guess  view on Meta::CPAN

		fi
		;;
	    *)
		os=netbsd
		;;
	esac
	# The OS release
	# Debian GNU/NetBSD machines have a different userland, and
	# thus, need a distinct triplet. However, they do not need
	# kernel version information, so it can be replaced with a
	# suitable tag, in the style of linux-gnu.
	case "${UNAME_VERSION}" in
	    Debian*)
		release='-gnu'
		;;
	    *)
		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
		;;
	esac
	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
	# contains redundant information, the shorter form:

lib/Alien/MSYS.pm  view on Meta::CPAN


use strict;
use warnings;
use Path::Tiny ();
use Env qw( @PATH );
use base qw( Alien::Base Exporter );

our @EXPORT    = qw( msys msys_run );
our @EXPORT_OK = qw( msys msys_run msys_path );

# ABSTRACT: Tools required for GNU style configure scripts on Windows
our $VERSION = '0.17'; # VERSION


sub msys (&)
{
  local $ENV{PATH} = $ENV{PATH};
  if($^O eq 'MSWin32')
  {
    unshift @PATH, msys_path();
  }

lib/Alien/MSYS.pm  view on Meta::CPAN

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Alien::MSYS - Tools required for GNU style configure scripts on Windows

=head1 VERSION

version 0.17

=head1 SYNOPSIS

from Perl:

 use Alien::MSYS;
 # runs uname from MSYS
 my $uname = msys { `uname` };

From Prompt/Makefile

 C:\> perl -MAlien::MSYS -e Alien::MSYS::msys_run uname

=head1 DESCRIPTION

MSYS provides minimal shell and POSIX tools on Windows to enable GNU style configure
scripts to run (the type usually generated by C<autoconf>). This module aims to
provide an interface for using MSYS on Windows and act as a no-op on Unix like
operating systems which already have that capability.  If you use this module, I
recommend that you list this as a prerequisite only during MSWin32 installs.

When installing, this distribution will look for an existing C<MSYS> using the following
methods in this order:

=over 4



( run in 0.720 second using v1.01-cache-2.11-cpan-49f99fa48dc )