Alien-PNG
view release on metacpan or search on metacpan
use strict;
use warnings;
use lib "inc";
use File::Spec::Functions qw(catdir catfile);
use My::Utility qw(check_config_script check_win32_pkgconfig check_prebuilt_binaries check_src_build);
#### we need the platform-specific module
my %platforms =(
# Unix = default, thus not listing all UNIX like systems
MSWin32 => 'Windows',
);
my $package = 'My::Builder::' . ($platforms{$^O} || 'Unix');
print "Gonna use '$package' class ...\n";
eval "require $package" or die "Require '$package' failed: $@\n";
#### Stadard Module::Builder stuff
my $build = $package->new(
module_name => 'Alien::PNG',
all_from => 'lib/Alien/PNG.pm',
dist_abstract => 'Get, Build and Use PNG libraries',
dist_author => 'Tobias Leich <FROGGS@cpan.org>',
license => 'perl',
Build.PL
CHANGELOG
inc/My/Builder.pm
inc/My/Builder/Unix.pm
inc/My/Builder/Windows.pm
inc/My/Utility.pm
lib/Alien/PNG.pm
LICENSE
MANIFEST This list of files
MANIFEST.SKIP
META.json
META.yml
MYMETA.json
README
inc/My/Builder/Unix.pm view on Meta::CPAN
package My::Builder::Unix;
use strict;
use warnings;
use base 'My::Builder';
use File::Spec::Functions qw(catdir catfile rel2abs);
use Config;
my $inc_lib_candidates = {
'/usr/local/include' => '/usr/local/lib',
( run in 1.637 second using v1.01-cache-2.11-cpan-64ef6c95b5d )