5 my $basedir = "/home/dast/rockbox-build/daily-build";
8 "recorder", "recorder8mb",
9 "fmrecorder", "fmrecorder8mb",
12 "h100", "h120", "h300",
14 "ipodcolor", "ipodnano", "ipod4gray", "ipodvideo",
17 # install and source are special cases
23 opendir(DIR
, "$basedir/$dir") or next;
24 my @files = sort grep { /^rockbox/ } readdir(DIR
);
33 for(reverse sort keys %date) {
36 if($d =~ /(\d\d\d\d)(\d\d)(\d\d)/) {
39 print "<table class=rockbox cellpadding=\"0\"><tr valign=top>\n";
46 my $split = int((scalar @list) / 2);
52 $show =~ s/recorder/rec/;
53 # Remove the comment below to get long names
54 $show = $longname{$t};
55 $head[$x] .= "<th>$show</th>\n";
57 if ($count == $split) {
61 print "$head[0]</tr><tr>\n";
66 printf "<td><img alt=\"$m\" src=\"$model{$m}\"><br>";
68 my $file = "rockbox-${m}-${d}.zip";
70 $file = "rockbox-daily-${d}.tar.gz";
72 elsif($m eq "install") {
73 $file = "Rockbox-${d}-install.exe";
75 if( -f
"$basedir/$m/$file") {
76 printf "<a href=\"http://download.rockbox.org/daily/$_/$file\">latest</a>",
78 print "<p><a href=\"/dl.cgi?bin=$_\">older</a></td>\n";
81 if ($count == $split) {
82 print "</tr><tr>$head[1]</tr><tr>\n";