add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)
authorNicolas Thill <nico@openwrt.org>
Wed, 10 Jan 2007 11:59:42 +0000 (11:59 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 10 Jan 2007 11:59:42 +0000 (11:59 +0000)
SVN-Revision: 6060

scripts/gen_deps.pl

index af206f0..0fc80aa 100755 (executable)
@@ -28,6 +28,8 @@ while ($line = <>) {
        $line =~ /^Source-Makefile: \s*(.+\/([^\/]+)\/Makefile)\s*$/ and do {
                $makefile = $1;
                $src = $2;
+               defined $pkg{$src} or $pkg{$src} = {};
+               $pkg{$src}->{src} = $src;
        };
        $line =~ /^Package: \s*(.+)\s*$/ and do {
                $name = $1;