Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

List prereqs conditional on operating system

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 corpus
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Changes
Octocat-spinner-32 META.json
Octocat-spinner-32 README.PATCHING
Octocat-spinner-32 README.pod
Octocat-spinner-32 dist.ini
Octocat-spinner-32 perlcritic.rc
README.pod

NAME

Dist::Zilla::Plugin::OSPrereqs - List prereqs conditional on operating system

VERSION

version 0.003

SYNOPSIS

In your dist.ini:

   [OSPrereqs / MSWin32]
   Win32API::File = 0.11

DESCRIPTION

This Dist::Zilla plugin allows you to specify OS-specific prerequisites. You must give the plugin a name corresponding to an operating system that would appear in $^O. Any prerequisites listed will be conditionally added to PREREQ_PM in the Makefile.PL

WARNING

This plugin works for Makefile.PL generated by the Dist::Zilla::Plugin::MakeMaker plugin or the Build.PL generated by the Dist::Zilla::Plugin::ModuleBuild plugin, and must appear in your dist.ini after whichever you use.

This plugin is a fairly gross hack, based on the technique used for Dist::Zilla::Plugin::DualLife and might break if/when Dist::Zilla changes how it generates install scripts.

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-OSPrereqs. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/dagolden/dist-zilla-plugin-osprereqs

  git clone git://github.com/dagolden/dist-zilla-plugin-osprereqs.git

AUTHOR

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
Something went wrong with that request. Please try again.