| 1 |
root |
1.1 |
use ExtUtils::MakeMaker; |
| 2 |
|
|
|
| 3 |
|
|
$|=1; |
| 4 |
|
|
|
| 5 |
|
|
print <<EOF; |
| 6 |
|
|
|
| 7 |
root |
1.2 |
- 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 |
root |
1.1 |
|
| 16 |
|
|
EOF |
| 17 |
|
|
|
| 18 |
root |
1.2 |
$ints = prompt "which interfaces to build", 2; |
| 19 |
root |
1.1 |
|
| 20 |
|
|
push @DIR, "Irman" if $ints & 1; |
| 21 |
|
|
push @DIR, "Lirc" if $ints & 2; |
| 22 |
|
|
|
| 23 |
|
|
WriteMakefile( |
| 24 |
root |
1.2 |
dist => { |
| 25 |
root |
1.1 |
PREOP => 'pod2text RCU.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
| 26 |
|
|
COMPRESS => 'gzip -9v', |
| 27 |
|
|
SUFFIX => '.gz', |
| 28 |
|
|
}, |
| 29 |
root |
1.2 |
NAME => 'RCU', |
| 30 |
|
|
VERSION_FROM=> 'RCU.pm', |
| 31 |
root |
1.1 |
DIR => \@DIR, |
| 32 |
|
|
); |