Image-PNG-QRCode
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use strict;
use warnings;
use ExtUtils::MakeMaker;
use FindBin '$Bin';
use lib "$Bin/inc";
use CheckForLibPng;
my $pm = 'lib/Image/PNG/QRCode.pm';
my $pod = 'lib/Image/PNG/QRCode.pod';
my $github = 'github.com/benkasminbullock/image-png-qrcode';
my $repo = "https://$github";
my $verbose;# = 1;
my $vars = check_for_libpng (verbose => $verbose);
if (! $vars) {
print STDERR "Could not find libpng, exiting.\n";
exit;
}
WriteMakefile (
NAME => 'Image::PNG::QRCode',
VERSION_FROM => $pm,
ABSTRACT_FROM => $pod,
AUTHOR => 'Ben Bullock <benkasminbullock@gmail.com>',
LICENSE => 'gpl_3',
PREREQ_PM => {
},
LIBS => $vars->{libs},
INC => $vars->{inc},
META_MERGE => {
'meta-spec' => {
version => 2,
},
resources => {
repository => {
type => 'git',
url => "git://$github.git",
web => $repo,
},
bugtracker => {
web => "$repo/issues",
},
# homepage => 'http://',
},
},
MIN_PERL_VERSION => '5.008001',
OBJECT => 'QRCode.o qrencode.o qrpng.o',
# OPTIMIZE => '-Wall -g -O',
EXE_FILES => ['script/qrpng',],
);
( run in 1.264 second using v1.01-cache-2.11-cpan-39bf76dae61 )