X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/34da3b9f3b1590b04e165352c8d88bba31e61281..e8a253ed34060f934df58c1f6f083cb726c55df1:/scripts/metadata.pm diff --git a/scripts/metadata.pm b/scripts/metadata.pm index 52ca9895e..6d544c883 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -66,6 +66,7 @@ sub parse_package_metadata($) { $pkg->{title} = ""; $pkg->{default} = "m if ALL"; $pkg->{depends} = []; + $pkg->{mdepends} = []; $pkg->{builddepends} = []; $pkg->{buildtypes} = []; $pkg->{subdir} = $subdir; @@ -111,6 +112,7 @@ sub parse_package_metadata($) { push @{$package{$vpkg}->{vdepends}}, $pkg->{name}; } }; + /^Menu-Depends: \s*(.+)\s*$/ and $pkg->{mdepends} = [ split /\s+/, $1 ]; /^Depends: \s*(.+)\s*$/ and $pkg->{depends} = [ split /\s+/, $1 ]; /^Build-Variant: \s*([\w\-]+)\s*/ and $pkg->{variant} = $1; /^Build-Only: \s*(.+)\s*$/ and $pkg->{buildonly} = 1;