Source

perl-XML-Grammar-ProductsSyndication / perl / XML-Grammar-ProductsSyndication / Build.PL

use strict;
use warnings;

use File::Spec;
use lib File::Spec->catdir(File::Spec->curdir(), "inc");

use XML::Grammar::Builder;

my $builder = XML::Grammar::Builder->new(
    module_name         => 'XML::Grammar::ProductsSyndication',
    license             => 'mit',
    dist_author         => 'Shlomi Fish <shlomif@cpan.org>',
    dist_version_from   => 'lib/XML/Grammar/ProductsSyndication.pm',
    requires => {
        'Class::Accessor' => 0,
        'File::Spec' => 0,
        'Imager' => 0,
        'LWP::UserAgent' => 0,
        'XML::Amazon' => 0,
        'XML::LibXML' => 0,
        'XML::LibXSLT' => 0,
        'strict' => 0,
        'warnings' => 0,
    },
    build_requires => {
        'Test::More' => 0,
        'Test::XML' => 0,
    },
    add_to_cleanup      => [ 'XML::Grammar::ProductsSyndication-*' ],
    create_makefile_pl => 'passthrough',
);

$builder->create_build_script();