]>
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 | |
fa7188ed | 7 | version = 2.38 |
e0d866c0 | 8 | release = 4 |
f1ddbe96 MT |
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 | ||
fa7188ed | 26 | source_dl = https://www.cpan.org/authors/id/J/JS/JSTOWE/ |
f1ddbe96 MT |
27 | |
28 | build | |
29 | requires | |
30 | perl(AutoLoader) | |
31 | perl(Carp) | |
32 | perl(Exporter) | |
33 | perl(ExtUtils::MakeMaker) | |
bae1ac3c | 34 | perl(Test::More) |
f1ddbe96 MT |
35 | end |
36 | ||
37 | build | |
38 | perl Makefile.PL INSTALLDIRS=vendor | |
39 | make %{PARALLELISMFLAGS} | |
40 | end | |
41 | ||
bae1ac3c SS |
42 | test |
43 | make test | |
44 | end | |
45 | ||
d3caa69a SS |
46 | make_install_targets = \ |
47 | pure_install | |
043812ee SS |
48 | |
49 | install_cmds | |
50 | # Set correct library permissions. | |
51 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
52 | -exec chmod 755 {} \; | |
53 | end | |
f1ddbe96 MT |
54 | end |
55 | ||
56 | packages | |
57 | package %{name} | |
58 | requires | |
d3caa69a | 59 | perl(:MODULE_COMPAT_%{perl_version}) |
f1ddbe96 MT |
60 | end |
61 | end | |
62 | ||
63 | package %{name}-debuginfo | |
64 | template DEBUGINFO | |
65 | end | |
66 | end |