]>
Commit | Line | Data |
---|---|---|
f1ddbe96 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-TermReadKey | |
7 | version = 2.30 | |
8 | release = 1 | |
9 | thisapp = TermReadKey-%{version} | |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/~jstowe/TermReadKey/ | |
13 | license = (Copyright only) and (Artistic or GPL+) | |
14 | summary = A perl module for simple terminal control. | |
15 | ||
16 | description | |
17 | Term::ReadKey is a compiled perl module dedicated to providing simple | |
18 | control over terminal driver modes (cbreak, raw, cooked, etc.) | |
19 | support for non-blocking reads, if the architecture allows, and some | |
20 | generalized handy functions for working with terminals. One of the | |
21 | main goals is to have the functions as portable as possible, so you | |
22 | can just plug in "use Term::ReadKey" on any architecture and have a | |
23 | good likelyhood of it working. | |
24 | end | |
25 | ||
26 | source_dl = http://www.cpan.org/authors/id/J/JS/JSTOWE/ | |
27 | ||
28 | build | |
29 | requires | |
30 | perl(AutoLoader) | |
31 | perl(Carp) | |
32 | perl(Exporter) | |
33 | perl(ExtUtils::MakeMaker) | |
34 | end | |
35 | ||
36 | build | |
37 | perl Makefile.PL INSTALLDIRS=vendor | |
38 | make %{PARALLELISMFLAGS} | |
39 | end | |
40 | ||
41 | make_install_targets = pure_install | |
42 | end | |
43 | ||
44 | packages | |
45 | package %{name} | |
46 | requires | |
47 | perl | |
48 | end | |
49 | end | |
50 | ||
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
54 | end |