source: LATMOS-Accounts/Makefile.PL @ 540

Last change on this file since 540 was 531, checked in by nanardon, 15 years ago
  • add tools to delete objects
File size: 1.8 KB
Line 
1use 5.010000;
2use ExtUtils::MakeMaker;
3# See lib/ExtUtils/MakeMaker.pm for details of how to influence
4# the contents of the Makefile that is written.
5WriteMakefile(
6    NAME              => 'LATMOS::Accounts',
7    VERSION           => '0.0.1', # finds $VERSION
8    PREREQ_PM         => {
9        'Net::LDAP' => undef,
10        'Unicode::Map8' => undef,
11        'DBD::Pg' => undef,
12        'Crypt::RSA' => undef,
13        'MIME::Base64' => undef,
14        'Term::ReadKey' => undef,
15        'Config::IniFiles' => undef,
16        'Mail::Sendmail' => undef,
17        'Net::DNS' => undef,
18        'Template' => undef,
19        'Sys::Syslog' => undef,
20        'POD::Usage' => undef,
21        'Unicode::String' => undef,
22    }, # e.g., Module::Name => 1.1
23    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
24      (ABSTRACT_FROM  => 'lib/LATMOS/Accounts.pm', # retrieve abstract from module
25       AUTHOR         => 'Thauvin Olivier <olivier.thauvin@latmos.ipsl.fr>') : ()),
26    EXE_FILES => [ qw(
27        bin/la-acls
28        bin/la-config
29        bin/la-create
30        bin/la-crypt-passwd
31        bin/la-delete
32        bin/la-edit
33        bin/la-group
34        bin/la-guser
35        bin/la-passwd
36        bin/la-query
37        bin/la-sync
38        bin/la-warn-expire
39        ) ],
40);
41
42package MY;
43
44sub postamble {
45    <<EOF;
46.PHONY .= svnmanifest
47
48svnmanifest:
49\tsvn ls -R| grep -v "/\$\$"  > MANIFEST
50
51ChangeLog:
52\tsvn log > ChangeLog
53
54latmos-accounts.spec: latmos-accounts.spec.in Makefile
55\tsed -e 's/\@VERSION@/\$(VERSION)/' < \$< > \$@
56
57rpm: \$(DISTVNAME).tar.gz latmos-accounts.spec
58\tmkdir ./noarch || :
59\trpmbuild -ba --clean\\
60\t --define "_sourcedir `pwd`" \\
61\t --define "_specdir `pwd`" \\
62\t --define "_srcrpmdir `pwd`" \\
63\t --define "_rpmdir `pwd`" \\
64\t latmos-accounts.spec
65
66EOF
67}
Note: See TracBrowser for help on using the repository browser.