add support for build-only packages which do not appear in menuconfig

SVN-Revision: 14009
This commit is contained in:
Felix Fietkau
2009-01-13 02:02:56 +00:00
parent 9b6691733e
commit 7502d4bd61
4 changed files with 6 additions and 0 deletions

View File

@@ -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;