diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-05 16:41:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-05 16:41:33 +0000 |
commit | 5e4789671ae4ecd9d2eb239e865f15ef60232287 (patch) | |
tree | 8c32bb5c5e48e4a14c1b8bc97506ca1afaa03466 /scripts/metadata.pm | |
parent | 646dfde8264fc9646c30e04ca6453b519a7e6651 (diff) | |
download | mtk-20170518-5e4789671ae4ecd9d2eb239e865f15ef60232287.zip mtk-20170518-5e4789671ae4ecd9d2eb239e865f15ef60232287.tar.gz mtk-20170518-5e4789671ae4ecd9d2eb239e865f15ef60232287.tar.bz2 |
build: add support for declaring package CONFLICTS which only affect selecting built-in packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42770
Diffstat (limited to 'scripts/metadata.pm')
-rw-r--r-- | scripts/metadata.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pm b/scripts/metadata.pm index ab5abc0..16acb8e 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -113,6 +113,7 @@ sub parse_package_metadata($) { }; /^Menu-Depends: \s*(.+)\s*$/ and $pkg->{mdepends} = [ split /\s+/, $1 ]; /^Depends: \s*(.+)\s*$/ and $pkg->{depends} = [ split /\s+/, $1 ]; + /^Conflicts: \s*(.+)\s*$/ and $pkg->{conflicts} = [ split /\s+/, $1 ]; /^Hidden: \s*(.+)\s*$/ and $pkg->{hidden} = 1; /^Build-Variant: \s*([\w\-]+)\s*/ and $pkg->{variant} = $1; /^Default-Variant: .*/ and $pkg->{variant_default} = 1; |