X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5b6977f54e7aa62bee8851fc8df40bf631f10c2d..71f447678da56f68be21b2001dc1f9910283ddfd:/scripts/metadata.pm diff --git a/scripts/metadata.pm b/scripts/metadata.pm index 8302728be..52ca9895e 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -112,6 +112,7 @@ sub parse_package_metadata($) { } }; /^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; /^Build-Depends: \s*(.+)\s*$/ and $pkg->{builddepends} = [ split /\s+/, $1 ]; /^Build-Depends\/(\w+): \s*(.+)\s*$/ and $pkg->{"builddepends/$1"} = [ split /\s+/, $2 ];