Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (38 sloc) 1.112 kB
use warnings;
use strict;
use ExtUtils::MakeMaker;
### Touch files that will be generated at "make dist" time.
### ExtUtils::MakeMaker and Module::Build will complain about them if
### they aren't present now.
foreach my $touched (qw(CHANGES META.yml README)) {
open TOUCH, ">>", $touched and close TOUCH;
}
### Generate Makefile.PL.
WriteMakefile(
NAME => 'Lexical::Persistence',
AUTHOR => 'Rocco Caputo <rcaputo@cpan.org>',
ABSTRACT => 'Persistent, continuation-like contexts for lexical variables.',
VERSION_FROM => 'lib/Lexical/Persistence.pm',
LICENSE => 'perl',
META_ADD => {
resources => {
license => 'http://dev.perl.org/licenses/',
repository => 'http://github.com/rcaputo/lexical-persistence'
},
},
dist => {
COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
PREOP => (
'git-log.pl | ' .
'/usr/bin/tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES; ' .
'LANG=C perldoc lib/Lexical/Persistence.pm | ' .
'/usr/bin/tee ./$(DISTNAME)-$(VERSION)/README > ./README'
),
},
PREREQ_PM => {
'Devel::LexAlias' => 0.04,
'PadWalker' => 1.1,
},
);
1;
Jump to Line
Something went wrong with that request. Please try again.