File: mk.control

package info (click to toggle)
gst-plugins-ugly0.10 0.10.8-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 6,920 kB
  • ctags: 3,310
  • sloc: ansic: 35,465; sh: 9,814; perl: 1,476; xml: 845; cpp: 641; makefile: 535; python: 465; sed: 16
file content (17 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl -w

open BUILDDEPS, "debian/build-deps";
@builddeplist = <BUILDDEPS>;
close BUILDDEPS;

chomp(@builddeplist);
@builddeplist = grep(!/^$/, @builddeplist);
$builddeps = join(", ", @builddeplist);

open CONTROLIN, "debian/control.in";

while(<CONTROLIN>){
        s/BUILDDEPS/$builddeps/;
        print;
}