-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added META.yml, Makefile.PL, and MANIFEST.SKIP.
- Loading branch information
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
^_build | ||
^Build$ | ||
^blib | ||
~$ | ||
\.bak$ | ||
^MANIFEST\.SKIP$ | ||
CVS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- #YAML:1.0 | ||
name: Lingua-Strfname | ||
version: 0.03 | ||
license: perl | ||
distribution_type: module | ||
requires: {} | ||
recommends: {} | ||
build_requires: {} | ||
conflicts: {} | ||
provides: | ||
Lingua::Strfname: | ||
file: lib/Lingua/Strfname.pm | ||
version: 0.03 | ||
generated_by: Module::Build version 0.19_05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
unless (eval "use Module::Build::Compat 0.02; 1" ) { | ||
print "This module requires Module::Build to install itself.\n"; | ||
|
||
require ExtUtils::MakeMaker; | ||
my $yn = ExtUtils::MakeMaker::prompt | ||
(' Install Module::Build now from CPAN?', 'y'); | ||
|
||
unless ($yn =~ /^y/i) { | ||
warn " *** Cannot install without Module::Build. Exiting ...\n"; | ||
exit 1; | ||
} | ||
|
||
require Cwd; | ||
require File::Spec; | ||
require CPAN; | ||
|
||
# Save this 'cause CPAN will chdir all over the place. | ||
my $cwd = Cwd::cwd(); | ||
my $makefile = File::Spec->rel2abs($0); | ||
|
||
CPAN::Shell->install('Module::Build::Compat'); | ||
|
||
chdir $cwd or die "Cannot chdir() back to $cwd: $!"; | ||
exec $^X, $makefile, @ARGV; # Redo now that we have Module::Build | ||
} | ||
Module::Build::Compat->run_build_pl(args => \@ARGV); | ||
Module::Build::Compat->write_makefile(); |