X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a4d916c9b5433b0076acedf3f7be0621f447138b..148d1344ce7d2e40de0d2fa3848f2e9530015e18:/scripts/metadata.pm diff --git a/scripts/metadata.pm b/scripts/metadata.pm index a527d68f8..9486c66cb 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -88,6 +88,7 @@ sub parse_package_metadata($) { } }; /^Depends: \s*(.+)\s*$/ and $pkg->{depends} = [ split /\s+/, $1 ]; + /^Build-Only: \s*(.+)\s*$/ and $pkg->{buildonly} = 1; /^Build-Depends: \s*(.+)\s*$/ and $pkg->{builddepends} = [ split /\s+/, $1 ]; /^Category: \s*(.+)\s*$/ and do { $pkg->{category} = $1;