add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 10 Jan 2007 11:59:42 +0000 (11:59 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 10 Jan 2007 11:59:42 +0000 (11:59 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6060 3c298f89-4303-0410-b956-a3cf2f4a3e73

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;
This page took 0.019671 seconds and 4 git commands to generate.