Andreas Vögele

NAME

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

VERSION

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

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.

We default to a custom-built wxWidgets library as Wx currently cannot be built with the library provided by the wxGTK and wxGTK3 SlackBuild scripts.

If wxPython is installed you can set $ENV{WX_CONFIG} to /usr/bin/wx-config and use the wxWidgets library provided by wxPython. In that case you will have to rebuild Alien::wxWidgets and Wx whenever wxPython is updated.

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 http://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 to bug-cpanplus-dist-slackware at rt.cpan.org, or through the web interface at http://rt.cpan.org/.

LICENSE AND COPYRIGHT

Copyright 2012-2015 Andreas Voegele

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

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