File: Makefile.PL

package info (click to toggle)
libtest-needsdisplay-perl 1.07-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 200 kB
  • ctags: 99
  • sloc: perl: 1,190; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use inc::Module::Install 0.77;

all_from  'lib/Test/NeedsDisplay.pm';
requires  'File::Spec' => '0.80';
requires  'Test::More' => '0.47';

unless ( $^O eq 'MSWin32' or $ENV{DISPLAY} or $^X =~ /wxPerl/ ) { 
	if ( $^O eq 'darwin') {
		print STDERR 'Consider running as "wxPerl Makefile.PL" or "wxPerl -MCPAN -e shell"';
	} else {
		requires_external_bin 'xvfb-run';
	}
}

WriteAll;