1 |
use ExtUtils::MakeMaker; |
2 |
|
3 |
$|=1; |
4 |
|
5 |
print <<EOF; |
6 |
|
7 |
- devlirc is a low-level module than can rpelace lircd in some cases. |
8 |
- irman is an intefrace to the proprietary irman device. |
9 |
- lirc is an interface to the linux infrared remote control package. |
10 |
|
11 |
0) devlirc interface only |
12 |
1) devlirc + irman interfaces (requires libirman) |
13 |
2) devlirc + lirc interface (requires liblirc_client) |
14 |
3) devlirc + irman + lirc |
15 |
|
16 |
EOF |
17 |
|
18 |
$ints = prompt "which interfaces to build", 2; |
19 |
|
20 |
push @DIR, "Irman" if $ints & 1; |
21 |
push @DIR, "Lirc" if $ints & 2; |
22 |
|
23 |
WriteMakefile( |
24 |
dist => { |
25 |
PREOP => 'pod2text RCU.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
26 |
COMPRESS => 'gzip -9v', |
27 |
SUFFIX => '.gz', |
28 |
}, |
29 |
NAME => 'RCU', |
30 |
VERSION_FROM=> 'RCU.pm', |
31 |
DIR => \@DIR, |
32 |
); |