12 $line =~ /^Source-Makefile: \s*(.+\/([^\
/]+)\/Makefile
)\s
*$/ and do {
16 $line =~ /^Package: \s*(.+)\s*$/ and do {
18 defined $pkg{$name} or $pkg{$name} = {};
19 $pkg{$name}->{src
} = $src;
21 $line =~ /^Depends: \s*(.+)\s*$/ and do {
22 my @dep = split /,\s*/, $1;
23 $pkg{$name}->{depends
} = \
@dep;
29 foreach $name (sort {uc($a) cmp uc($b)} keys %pkg) {
30 print "package-\$(CONFIG_PACKAGE_$name) += $pkg{$name}->{src}\n";
34 foreach my $dep (@
{$pkg{$name}->{depends
}}) {
35 if (defined $pkg{$dep}->{src
} && $pkg{$name}->{src
} ne $pkg{$dep}->{src
}) {
36 $depline .= " $pkg{$dep}->{src}-compile";
40 $line .= "$pkg{$name}->{src}-compile: $depline\n";
This page took 0.045429 seconds and 5 git commands to generate.