File: BarnOwl.pm

package info (click to toggle)
barnowl 1.9-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,608 kB
  • sloc: ansic: 36,508; perl: 25,040; sh: 1,609; makefile: 100
file content (31 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#line 1
use warnings;
use strict;

#line 32

package Module::Install::BarnOwl;

use base qw(Module::Install::Base);

sub barnowl_module {
    my $self = shift;
    my $name = ucfirst shift;
    my $class = ref $self;

    $self->name("BarnOwl-Module-$name");
    $self->all_from("lib/BarnOwl/Module/$name.pm");

    $self->postamble(<<"END_MAKEFILE");

# --- $class section:

$name.par: pm_to_blib
\tcd blib; zip -q ../$name.par -r arch lib

END_MAKEFILE
}

#line 60

1;