Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: cpan
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 47 lines (43 sloc) 1.637 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
#!/usr/bin/perl
use warnings;
use strict;
use ExtUtils::MakeMaker;

# Add a few more targets.
sub MY::postamble {
q{
all:: zgz/zgz

ZGZ_SOURCES = zgz/zgz.c zgz/gzip/*.c zgz/old-bzip2/*.c
zgz/zgz: $(ZGZ_SOURCES)
gcc -Wall -O2 -o $@ $(ZGZ_SOURCES) -lz
}
}

WriteMakefile(
NAME => 'Pristine::Tar',
    AUTHOR => 'Joey Hess <joey@kitenet.net>',
    VERSION_FROM => 'pristine-tar',
    ABSTRACT => 'regenerate a pristine upstream tarball using only a small binary delta file and a copy of the source which can be a revision control checkout',
    ($ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'GPLv2', ) : ()),
    EXE_FILES => [ 'pristine-tar', 'pristine-bz2', 'pristine-gz', 'zgz/zgz' ],
    dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean => { FILES => 'zgz/zgz Pristine-Tar-*' },
    BUILD_REQUIRES => {
        'Test::More' => 0, # For testing
        'Test::NoWarnings' => 0, # For testing
    },
    META_MERGE => {
        recommends => {
            'Test::Pod' => 1.14,
        },
        build_requires => {
            'Test::More' => 0, # For testing
            'Test::NoWarnings' => 0, # For testing
        },
        resources => {
            license => 'GPLv2',
            homepage => 'http://kitenet.net/~joey/code/pristine-tar/',
# bugtracker => '',
            repository => 'http://git.kitenet.net/?p=pristine-tar.git',
# MailingList => '',
        },
    },
);
Something went wrong with that request. Please try again.