projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed dependency handling for feeds
[openwrt.git]
/
scripts
/
metadata.pm
diff --git
a/scripts/metadata.pm
b/scripts/metadata.pm
index
a220231
..
a527d68
100644
(file)
--- a/
scripts/metadata.pm
+++ b/
scripts/metadata.pm
@@
-54,6
+54,7
@@
sub parse_package_metadata($) {
$srcpackage{$src} = [];
undef $pkg;
};
$srcpackage{$src} = [];
undef $pkg;
};
+ next unless $src;
/^Package:\s*(.+?)\s*$/ and do {
$pkg = {};
$pkg->{src} = $src;
/^Package:\s*(.+?)\s*$/ and do {
$pkg = {};
$pkg->{src} = $src;
@@
-76,7
+77,13
@@
sub parse_package_metadata($) {
/^Provides: \s*(.+)\s*$/ and do {
my @vpkg = split /\s+/, $1;
foreach my $vpkg (@vpkg) {
/^Provides: \s*(.+)\s*$/ and do {
my @vpkg = split /\s+/, $1;
foreach my $vpkg (@vpkg) {
- $package{$vpkg} or $package{$vpkg} = { vdepends => [] };
+ $package{$vpkg} or $package{$vpkg} = {
+ name => $vpkg,
+ vdepends => [],
+ src => $src,
+ subdir => $subdir,
+ makefile => $makefile
+ };
push @{$package{$vpkg}->{vdepends}}, $pkg->{name};
}
};
push @{$package{$vpkg}->{vdepends}}, $pkg->{name};
}
};
This page took
0.059311 seconds
and
4
git commands to generate.