5 my $basedir = "/home/dast/rockbox-build/daily-build";
8 "recorder", "recorder8mb",
9 "fmrecorder", "fmrecorder8mb",
12 "h100", "h120", "h300", "ipodcolor", "ipodnano",
14 # install and source are special cases
19 opendir(DIR
, "$basedir/$dir") or next;
20 my @files = sort grep { /^rockbox/ } readdir(DIR
);
29 for(reverse sort keys %date) {
32 if($d =~ /(\d\d\d\d)(\d\d)(\d\d)/) {
35 print "<table class=rockbox cellpadding=\"0\"><tr valign=top>\n";
42 my $split = int((scalar @list) / 2);
48 $show =~ s/recorder/rec/;
49 # Remove the comment below to get long names
50 # $show = $longname{$t};
51 $head[$x] .= "<th>$show</th>\n";
53 if ($count == $split) {
57 print "$head[0]</tr><tr>\n";
62 printf "<td><img alt=\"$m\" src=\"$model{$m}\"><br>";
64 my $file = "rockbox-${m}-${d}.zip";
66 $file = "rockbox-daily-${d}.tar.gz";
68 elsif($m eq "install") {
69 $file = "Rockbox-${d}-install.exe";
71 if( -f
"$basedir/$m/$file") {
72 printf "<a href=\"/daily/$_/$file\">latest</a>",
74 print "<p><a href=\"/dl.cgi?bin=$_\">older</a></td>\n";
77 if ($count == $split) {
78 print "</tr><tr>$head[1]</tr><tr>\n";