File: RogerRamjet.pm

package info (click to toggle)
libalien-build-perl 2.84-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,116 kB
  • sloc: perl: 10,350; ansic: 134; sh: 66; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package Alien::Build::Plugin::RogerRamjet;

use strict;
use warnings;
use Alien::Build::Plugin;

has 'foo'  => 22;
has '+bar' => sub { 'something generated' };
has 'baz'  => undef;

sub init
{
  my($self, $meta) = @_;

  $meta->prop->{ramjet} = 'roger';
  $meta->prop->{foo}    = $self->foo;
  $meta->prop->{bar}    = $self->bar;
  $meta->prop->{baz}    = $self->baz;

}

1;