]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Digest-SHA1/perl-Digest-SHA1.nm
perl: Recompile all modules
[ipfire-3.x.git] / perl-Digest-SHA1 / perl-Digest-SHA1.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-Digest-SHA1
7 version = 2.13
8 release = 7
9 thisapp = Digest-SHA1-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/Digest-SHA1
13 license = GPL+ or Artistic
14 summary = Digest-SHA1 Perl module.
15
16 description
17 The Digest::SHA1 module allows you to use the NIST SHA-1 message
18 digest algorithm from within Perl programs. The algorithm takes as
19 input a message of arbitrary length and produces as output a 160-bit
20 "fingerprint" or "message digest" of the input.
21
22 The Digest::SHA1 module provide a procedural interface for simple use,
23 as well as an object oriented interface that can handle messages of
24 arbitrary length and which can read files directly.
25
26 A binary digest will be 20 bytes long. A hex digest will be 40
27 characters long. A base64 digest will be 27 characters long.
28 end
29
30 source_dl = http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/
31
32 build
33 requires
34 perl(ExtUtils::MakeMaker)
35 perl(ExtUtils::ParseXS)
36 perl(Test::More)
37 end
38
39 build
40 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
41 make %{PARALLELISMFLAGS}
42 end
43
44 test
45 make test
46 end
47
48 make_install_targets = \
49 pure_install
50
51 install_cmds
52 # Set correct library permissions.
53 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
54 -exec chmod 755 {} \;
55 end
56 end
57
58 packages
59 package %{name}
60 requires
61 perl(:MODULE_COMPAT_%{perl_version})
62 end
63 end
64
65 package %{name}-debuginfo
66 template DEBUGINFO
67 end
68 end