From: Graham B. <gb...@us...> - 2003-10-17 21:07:02
|
Update of /cvsroot/perl-ldap/sasl In directory sc8-pr-cvs1:/tmp/cvs-serv2948 Modified Files: MANIFEST Makefile.PL Log Message: use Module::Install to generate Makefile and add SIGNATURE and META.yml Index: MANIFEST =================================================================== RCS file: /cvsroot/perl-ldap/sasl/MANIFEST,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- MANIFEST 19 May 2003 16:06:04 -0000 1.5 +++ MANIFEST 17 Oct 2003 21:06:52 -0000 1.6 @@ -1,9 +1,18 @@ ChangeLog MANIFEST +META.yml Makefile.PL +SIGNATURE api.txt compat_pl example_pl +inc/Module/Install.pm +inc/Module/Install/Base.pm +inc/Module/Install/Can.pm +inc/Module/Install/Fetch.pm +inc/Module/Install/Makefile.pm +inc/Module/Install/Metadata.pm +inc/Module/Install/Win32.pm lib/Authen/SASL.pm lib/Authen/SASL.pod lib/Authen/SASL/CRAM_MD5.pm Index: Makefile.PL =================================================================== RCS file: /cvsroot/perl-ldap/sasl/Makefile.PL,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- Makefile.PL 24 Jan 2002 12:04:16 -0000 1.1.1.1 +++ Makefile.PL 17 Oct 2003 21:06:52 -0000 1.2 @@ -1,10 +1,30 @@ # This -*- perl -*- script makes the Makefile -use 5.004; -use ExtUtils::MakeMaker; +use 5.005; +use inc::Module::Install; -WriteMakefile( - VERSION_FROM => 'lib/Authen/SASL.pm', - NAME => 'Authen::SASL', -); +name ('Authen-SASL'); +abstract ('SASL Authentication framework'); +author ('Graham Barr <gb...@po...>'); +version_from ('lib/Authen/SASL.pm'); +license ('perl'); + +check_nmake(); # check and download nmake.exe for Win32 + +&Makefile->write; +&Meta->write; + +## - - - - - - - - + +sub MY::postamble { + return <<'POSTAMBLE'; + +disttest : distdir_check_sig + +distdir_check_sig : distdir + cd $(DISTVNAME) && $(PERL) -MModule::Signature=verify -e 'exit verify()' + +POSTAMBLE + +} |