]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-TermReadKey/perl-TermReadKey.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-TermReadKey / perl-TermReadKey.nm
CommitLineData
f1ddbe96
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-TermReadKey
fa7188ed 7version = 2.38
e0d866c0 8release = 4
f1ddbe96
MT
9thisapp = TermReadKey-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/~jstowe/TermReadKey/
13license = (Copyright only) and (Artistic or GPL+)
14summary = A perl module for simple terminal control.
15
16description
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.
24end
25
fa7188ed 26source_dl = https://www.cpan.org/authors/id/J/JS/JSTOWE/
f1ddbe96
MT
27
28build
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
54end
55
56packages
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
66end