File: Makefile.PL

package info (click to toggle)
libfile-keepass-perl 2.03-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 216 kB
  • ctags: 69
  • sloc: perl: 1,920; makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,464 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use ExtUtils::MakeMaker;

###----------------------------------------------------------------###
#  Copyright 2010 - Paul Seamons                                     #
#  Distributed under the GNU General Public License without warranty #
###----------------------------------------------------------------###

WriteMakefile(
              NAME          => "File::KeePass",
              AUTHOR        => "Paul Seamons",
              ABSTRACT_FROM => "lib/File/KeePass.pm",
              VERSION_FROM  => "lib/File/KeePass.pm",
              INSTALLDIRS   => 'site',
              PREREQ_PM     => {
                  'Crypt::Rijndael' => '1.0',
                  'Digest::SHA'     => '1.0',
                  'MIME::Base64'    => '1.0',
                  #'Compress::Raw::Zlib' => '1.0', # not a requirement for v1 only infrastructure
                  #'XML::Parser'     => '1.0', # not a requirement for v1 only infrastructure
              },
              dist          => {
                DIST_DEFAULT => 'all tardist',
                COMPRESS     => 'gzip -vf',
                SUFFIX       => '.gz',
              },
              clean          => {
                FILES        => '*~',
              },
              realclean         => {
                FILES        => '*~',
              },
              );

package MY;

sub postamble {
  return qq^
    
pm_to_blib: README

README: \$(VERSION_FROM)
	pod2text \$(VERSION_FROM) > README
^;
}

1;