source: perl/modules/Facebook/inc/Module/Install/BarnOwl.pm @ ee98987

Last change on this file since ee98987 was ee98987, checked in by Edward Z. Yang <ezyang@mit.edu>, 13 years ago
Initial commit of Facebook module implementation. This module was inspired by Kevin Riggle's Facebook-hacked-onto-Twitter implementation, but was rewritten to stand alone as its own module and use the new Facebook Graph API. It requires the Facebook::Graph CPAN module. Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
  • Property mode set to 100644
File size: 471 bytes
Line 
1#line 1
2use warnings;
3use strict;
4
5#line 32
6
7package Module::Install::BarnOwl;
8
9use base qw(Module::Install::Base);
10
11sub 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: pm_to_blib
24\tcd blib; zip -q ../$name.par -r arch lib
25
26END_MAKEFILE
27}
28
29#line 60
30
311;
Note: See TracBrowser for help on using the repository browser.