Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27745
Modified Files: ChangeLog VirtPackage.pm Log Message: new virtual package "64bit-cpu" Index: VirtPackage.pm =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/VirtPackage.pm,v retrieving revision 1.106 retrieving revision 1.107 diff -u -d -r1.106 -r1.107 --- VirtPackage.pm 10 Jul 2006 20:48:49 -0000 1.106 +++ VirtPackage.pm 20 Jul 2006 02:39:10 -0000 1.107 @@ -159,6 +159,41 @@ $hash->{compilescript} = &gen_compile_script($hash); $self->{$hash->{package}} = $hash; +=item 64bit-cpu + +The package is present when the CPU is 64bit-capable. + +=cut + +print STDERR "- checking for 64bit-cpu... cpu type is " if ($options{debug}); + my $cpu = `/usr/bin/machine`; + chomp $cpu; + print STDERR "$cpu..." if ($options{debug}); +# possible values seem to be: +# ppc750 (G3, not 64bit capable) +# ppc7450 (G4, not 64bit capable) +# ppc970 (G5, 64bit capable) +# i486 (early intel macs, not 64bit capable) + + $hash = {}; + $hash->{package} = "64bit-cpu"; + if ($cpu eq "ppc970") { + print STDERR "64 bit capable\n" if ($options{debug}); + $hash->{status} = STATUS_PRESENT; + } else { + print STDERR "not 64 bit capable\n" if ($options{debug}); + $hash->{status} = STATUS_ABSENT; + } + $hash->{description} = "[virtual package representing the 64bit capability of the CPU]"; + $hash->{homepage} = "http://fink.sourceforge.net/faq/usage-general.php#virtpackage"; + $hash->{descdetail} = <<END; +The presence of the 64bit-cpu package indicates that the CPU on which we +are running is 64bit capable. +END + $hash->{compilescript} = &gen_compile_script($hash); + $hash->{version} = '0-1'; + $self->{$hash->{package}} = $hash; + =item cups-dev This package represents and existing installation of the CUPS Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.1351 retrieving revision 1.1352 diff -u -d -r1.1351 -r1.1352 --- ChangeLog 17 Jul 2006 20:34:26 -0000 1.1351 +++ ChangeLog 20 Jul 2006 02:39:10 -0000 1.1352 @@ -1,3 +1,7 @@ +2006-07-19 Dave Morrison <[EMAIL PROTECTED]> + + * VirtPackage.pm: new virtual package "64bit-cpu" + 2006-07-12 Daniel Macks <[EMAIL PROTECTED]> * Package.pm: No progress bar interruptions, so no need to cache it ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits