Revised Makefile.PL and Build.PL.
This commit is contained in:
parent
b232f4b58d
commit
c4e5183b57
2
Build.PL
2
Build.PL
@ -1,5 +1,7 @@
|
|||||||
#! /usr/bin/perl -w
|
#! /usr/bin/perl -w
|
||||||
|
require 5.008;
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings FATAL => 'all';
|
||||||
use Module::Build;
|
use Module::Build;
|
||||||
|
|
||||||
my $build = Module::Build->new(
|
my $build = Module::Build->new(
|
||||||
|
10
Makefile.PL
10
Makefile.PL
@ -1,22 +1,16 @@
|
|||||||
#! /usr/bin/perl -w
|
#! /usr/bin/perl -w
|
||||||
require 5.008;
|
require 5.008;
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings FATAL => 'all';
|
||||||
use ExtUtils::MakeMaker;
|
use ExtUtils::MakeMaker;
|
||||||
|
|
||||||
# LICENSE is only availabe since ExtUtils::MakeMaker 6.30_01
|
|
||||||
use vars qw(%license $eummver);
|
|
||||||
%license = qw();
|
|
||||||
$eummver = $ExtUtils::MakeMaker::VERSION;
|
|
||||||
$eummver =~ s/_//;
|
|
||||||
%license = (LICENSE => "perl") if $eummver > 6.30;
|
|
||||||
|
|
||||||
WriteMakefile(
|
WriteMakefile(
|
||||||
NAME => "Locale::Maketext::Gettext",
|
NAME => "Locale::Maketext::Gettext",
|
||||||
VERSION => "1.31",
|
VERSION => "1.31",
|
||||||
ABSTRACT => "Joins gettext and Maketext frameworks",
|
ABSTRACT => "Joins gettext and Maketext frameworks",
|
||||||
AUTHOR => "imacat <imacat\@mail.imacat.idv.tw>",
|
AUTHOR => "imacat <imacat\@mail.imacat.idv.tw>",
|
||||||
%license,
|
|
||||||
PREREQ_PM => { },
|
PREREQ_PM => { },
|
||||||
|
LICENSE => "perl",
|
||||||
SIGN => 1,
|
SIGN => 1,
|
||||||
|
|
||||||
EXE_FILES => [ "script/maketext" ],
|
EXE_FILES => [ "script/maketext" ],
|
||||||
|
Loading…
Reference in New Issue
Block a user