Archive-Tar-Streamed

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

mkdir test;

print <<END;
This module would like to run comparison tests against the system tar

Enter the string 'none' if your platform does not have a tar program.
END
my $tar = prompt("Enter name of tar program: ",'tar');

if ($tar ne 'none') {

    `$tar cvf test/arch1.tar t/0*.t`;

    if (!-e 'test/arch1.tar') {
        warn "Tar did not create an archive. Disabling tests";
        $tar = 'none';
    }
}

README  view on Meta::CPAN

INSTALLATION
    Please follow the usual steps for installing a Perl module:

    perl Makefile.PL
    make
    make test
    make install

    substitute any platform specific make, e.g. use nmake on Windows.

    Makefile.PL prompts for a tar program. This is only needed in order
    to run the full suite of tests.

BUGS
    Please use http://rt.cpan.org to report any bugs in this module

AUTHOR
            I. Williams
            bitumen@xemaps.com

COPYRIGHT



( run in 0.943 second using v1.01-cache-2.11-cpan-0b5f733616e )