barnowl_perlaimdebianrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
|
Last change
on this file since 300b470 was
300b470,
checked in by Nelson Elhage <nelhage@mit.edu>, 19 years ago
|
|
Adding a Module::Install plugin for building barnowl plugins. It needs
a lot of improvement.
|
-
Property mode set to
100644
|
|
File size:
466 bytes
|
| Rev | Line | |
|---|
| [300b470] | 1 | #line 1 |
|---|
| 2 | use warnings; |
|---|
| 3 | use strict; |
|---|
| 4 | |
|---|
| 5 | #line 32 |
|---|
| 6 | |
|---|
| 7 | package Module::Install::BarnOwl; |
|---|
| 8 | |
|---|
| 9 | use base qw(Module::Install::Base); |
|---|
| 10 | |
|---|
| 11 | sub barnowl_module { |
|---|
| 12 | my $self = shift; |
|---|
| 13 | my $name = ucfirst shift; |
|---|
| 14 | my $class = ref $self; |
|---|
| 15 | |
|---|
| 16 | $self->name("BarnOwl-Module-$name"); |
|---|
| 17 | $self->all_from("lib/BarnOwl/Module/$name.pm"); |
|---|
| 18 | |
|---|
| 19 | $self->postamble(<<"END_MAKEFILE"); |
|---|
| 20 | |
|---|
| 21 | # --- $class section: |
|---|
| 22 | |
|---|
| 23 | $name.par: all test |
|---|
| 24 | \tcd blib; zip ../$name.par -r arch lib |
|---|
| 25 | |
|---|
| 26 | END_MAKEFILE |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | #line 60 |
|---|
| 30 | |
|---|
| 31 | 1; |
|---|
Note: See
TracBrowser
for help on using the repository browser.