ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/RCU/Makefile.PL
Revision: 1.1
Committed: Sun Nov 6 17:17:37 2005 UTC (19 years, 1 month ago) by root
Content type: text/plain
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# Content
1 use ExtUtils::MakeMaker;
2
3 $|=1;
4
5 print <<EOF;
6
7 0) build no interface
8 1) irman interface (requires libirman)
9 2) lirc interface (requires lirc)
10 3) both interfaces
11
12 EOF
13
14 print "which interfaces to build> "; $ints = <STDIN>;
15
16 push @DIR, "Irman" if $ints & 1;
17 push @DIR, "Lirc" if $ints & 2;
18
19 WriteMakefile(
20 'dist' => {
21 PREOP => 'pod2text RCU.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
22 COMPRESS => 'gzip -9v',
23 SUFFIX => '.gz',
24 },
25 'NAME' => 'RCU',
26 'VERSION_FROM' => 'RCU.pm',
27 'LIBS' => [''],
28 'DEFINE' => '',
29 'INC' => '',
30 DIR => \@DIR,
31 );