Source

JGI_iTagger / Makefile.PL

Full commit
use 5.006;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME             => 'FastaDb',
    AUTHOR           => q{Julien Tremblay <jtremblay514@gmail.com>},
    VERSION          => '0.3',
    ABSTRACT         => 'Taxonomic analysis of PCR products',
    LICENSE          => 'Copyright 2013 US DOE JGI',
    PL_FILES         => {},
    MIN_PERL_VERSION => 5.006,
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => 0,
    },
    BUILD_REQUIRES => {
        'Test::More' => 0,
    },
    PREREQ_PM => {
        #'ABC'              => 1.6,
        #'Foo::Bar::Module' => 5.0401,
    },
    EXE_FILES => &get_scripts,
    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'iTagger-*' },
);

sub get_scripts {
    my @scripts = <scripts/*>;
    return \@scripts;
}