|
Revision 13, 1.0 kB
(checked in by scottmc, 3 years ago)
|
|
Added old perl modules
Starting to think maybe I should structure the new repository differently
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | use strict; |
|---|
| 4 | use warnings FATAL => "all"; |
|---|
| 5 | use ExtUtils::MakeMaker; |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | open CHANGES, ">>CHANGES" and close CHANGES; |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | sub MY::postamble { |
|---|
| 12 | q( |
|---|
| 13 | document: |
|---|
| 14 | $(NOECHO) $(PERLRUN) "-MFile::Find" \ |
|---|
| 15 | -le 'find { wanted => sub { if (m/otl$$/) { \ |
|---|
| 16 | my $$pod = $$_; \ |
|---|
| 17 | $$pod =~ s/otl/pod/; \ |
|---|
| 18 | print "Converting $$File::Find::name to $$pod"; \ |
|---|
| 19 | system("otl2pod $$_ > $$pod"); \ |
|---|
| 20 | } } }, "lib";' |
|---|
| 21 | ); |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | WriteMakefile |
|---|
| 25 | ( NAME => 'POE::Component::Pool::Thread', |
|---|
| 26 | AUTHOR => 'Scott S. McCoy (tag@cpan.org)', |
|---|
| 27 | ABSTRACT => 'A POE Component for managing Boss/Worker Thread pools', |
|---|
| 28 | VERSION_FROM => 'Thread.pm', |
|---|
| 29 | |
|---|
| 30 | PREREQ_PM => { |
|---|
| 31 | POE => 0.30, |
|---|
| 32 | threads => 1.03, |
|---|
| 33 | }, |
|---|
| 34 | |
|---|
| 35 | dist => |
|---|
| 36 | { DIST_DEFAULT => "tardist document", |
|---|
| 37 | COMPRESS => 'gzip -9f', |
|---|
| 38 | SUFFIX => 'gz', |
|---|
| 39 | PREOP => ( 'svn log | ' . |
|---|
| 40 | 'tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES' |
|---|
| 41 | ), |
|---|
| 42 | }, |
|---|
| 43 | ); |
|---|