Info2: << Package: cpan-pm%type_pkg[perl] Version: 1.94.02 Revision: 5 Distribution: (%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6 Type: perl (5.8.8 5.10.0) Description: Perl module to access perl modules on CPAN License: Artistic/GPL Maintainer: Christian Schaffner # Dependencies: Depends: << dpkg-base-files, (%type_pkg[perl] != 586) file-homedir-pm%type_pkg[perl] (>= 0.69-1), perl%type_pkg[perl]-core, test-harness-pm%type_pkg[perl] (>= 2.62-1), text-glob-pm << BuildDepends: fink (>= 0.20.1-1) Replaces: %N-doc, cpan-pm581-bin Conflicts: %N-doc, cpan-pm581-bin #Suggests: cpan-sqlite-pm%type_pkg[perl] Suggests: << module-build-pm%type_pkg[perl], module-signature-pm%type_pkg[perl] << # Unpack Phase: Source: mirror:cpan:authors/id/A/AN/ANDK/CPAN-1.9402.tar.gz Source-MD5: 70e43824c20cde64aa7b1b9e684b119f CompileScript: << [ %type_pkg[perl] -lt 588 ] && echo "Ignore the warning about missing File::HomeDir; it is not available for version of perl and cpan-pm has an internal work-around for it" || : %{default_script} << # Install Phase: UpdatePOD: True DocFiles: Changes README Todo InstallScript: << %{default_script} mv %i/share/man %i/lib/perl5/%type_raw[perl] mv %i/bin/cpan %i/bin/cpan-%type_raw[perl] << PostInstScript: << if [ "$1" = configure ]; then update-alternatives --install %p/bin/cpan cpan %p/bin/cpan-%type_raw[perl] %type_pkg[perl] fi << PreRmScript: << if [ "$1" = remove ]; then update-alternatives --remove cpan %p/bin/cpan-%type_raw[perl] fi << # Additional Info: DescUsage: << Note: Various versions of the CPAN module may prefer to have the main directory at ~/Library/Application Support/.cpan instead of the more unixish ~/.cpan location. The directory itself seems the same and can be via symlink in either direction. << DescPackaging: << The old cpan-pmXXX-bin packages are re-incorporated into the cpan-pmXXX packages as of 1.76-3/1.94.2-1. module-signature-pm is in section:crypto; don't Depends so we can keep self in section:main module-build-pm only used for building so not Depends for fink because we're a package-manager that gets confused when CPAN is used to install modules directly CPAN::SQLite doesn't seem to be in fink yet. file-homedir-pmXXX is not available on 5.8.6, but cpan-pmXXX seems to provide usable (although slightly different) fallback if it's not found. -pm586 fails self-tests (seems unrelated to missing File::HomeDir in that perlversion) << Homepage: http://search.cpan.org/dist/CPAN/ # End of Info2 <<