~ubuntu-branches/ubuntu/oneiric/libgeo-postcode-perl/oneiric

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2011-02-05 13:46:07 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110205134607-foygi4th3070b17p
Tags: 0.17+dfsg1-1
* New upstream release
* Update Standards-Version (no changes)
* Switch to minimal dh7 rules file
* Update to debhelper compatibility level 7
* Update source format version to 3.0 (quilt)
* Update README.Debian with a better URL for information about free
  postcodes
* debian/watch: mangle Debian version to strip of dfsg portion

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
$|++;
7
7
 
8
8
WriteMakefile(
9
 
    NAME => 'Geo::Postcode',
10
 
    VERSION_FROM => 'lib/Geo/Postcode.pm',
11
 
    PREREQ_PM => { 'DBD::SQLite' => 0 }, (
12
 
        $] >= 5.005 ? (
13
 
            ABSTRACT_FROM => 'lib/Geo/Postcode.pm', 
14
 
            AUTHOR => 'william ross <wross@cpan.org>'
15
 
        ) : ()
16
 
    ),
 
9
        NAME => 'Geo::Postcode',
 
10
        VERSION_FROM => 'lib/Geo/Postcode.pm',
 
11
        PREREQ_PM => { 'DBD::SQLite' => 0,
 
12
                "DBI" => 0,
 
13
                "Test::More" => 0 }, (
 
14
                $] >= 5.005 ? (
 
15
                        ABSTRACT_FROM => 'lib/Geo/Postcode.pm', 
 
16
                        AUTHOR => 'william ross <wross@cpan.org>'
 
17
                ) : ()
 
18
        ),
 
19
        clean => { 
 
20
                FILES => './blib/lib/Geo/Postcode/postcodes.db' 
 
21
        },
17
22
);
 
23
 
 
24
sub test {
 
25
    my $class = shift;
 
26
    my $makefragment = $class->SUPER::test(@_);
 
27
    $makefragment =~ s/^(test ::)/$1 locationdata/m;
 
28
    return $makefragment;
 
29
}
 
30
 
 
31
sub install {
 
32
    my $class = shift;
 
33
    my $makefragment = $class->SUPER::install(@_);
 
34
    $makefragment =~ s/^(install ::)/$1 locationdata/m;
 
35
    return $makefragment;
 
36
}
 
37
 
 
38