The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CPANPLUS::Dist::Slackware::Plugin::Alien::wxWidgets - Configure Alien::wxWidgets

VERSION

This document describes CPANPLUS::Dist::Slackware::Plugin::Alien::wxWidgets version 1.030.

SYNOPSIS

    $is_available = $plugin->available($dist);
    $success = $plugin->pre_prepare($dist);
    $success = $plugin->post_prepare($dist);

DESCRIPTION

Configures Alien::wxWidgets to download and build its own version of the wxWidgets library unless $ENV{WX_CONFIG} is set to the full path to wx-config.

If wxGTK3 or wxPython is installed you can set $ENV{WX_CONFIG} to /usr/bin/wx-config. You will have to rebuild Alien::wxWidgets and Wx whenever wxWidgets is updated, though.

SUBROUTINES/METHODS

$plugin->available($dist)

Returns true if this plugin applies to the given Perl distribution.

$plugin->pre_prepare($dist)

If neither $ENV{AWX_URL} nor $ENV{WX_CONFIG} are set, sets $ENV{AWX_URL} to https://prdownloads.sourceforge.net/wxwindows, which causes Alien::wxWidgets to ignore existing wxWidgets installations and build its own library.

$plugin->post_prepare($dist)

Unsets $ENV{AWX_URL}.

DIAGNOSTICS

None.

CONFIGURATION AND ENVIRONMENT

None.

DEPENDENCIES

None.

INCOMPATIBILITIES

None known.

SEE ALSO

CPANPLUS::Dist::Slackware

AUTHOR

Andreas Voegele <voegelas@cpan.org>

BUGS AND LIMITATIONS

Please report any bugs using the issue tracker at https://github.com/graygnuorg/CPANPLUS-Dist-Slackware/issues.

LICENSE AND COPYRIGHT

Copyright 2012-2020 Andreas Voegele

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See https://dev.perl.org/licenses/ for more information.