1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:37:10 +02:00

add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6060 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2007-01-10 11:59:42 +00:00
parent 80551b13b0
commit 4c42a84530

View File

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