]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Digest-SHA1/perl-Digest-SHA1.nm
setup: Drop /etc/environment
[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 = 4.1
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 pakfire >= 0.9.26-3.1
37 end
38
39 build
40 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
41 make %{PARALLELISMFLAGS}
42 end
43
44 make_install_targets = \
45 pure_install
46 end
47
48 packages
49 package %{name}
50 requires
51 perl(:MODULE_COMPAT_%{perl_version})
52 end
53 end
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end