]>
Commit | Line | Data |
---|---|---|
11450127 MT |
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 | |
1d0547dc | 8 | release = 4.1 |
11450127 MT |
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) | |
958fb393 | 35 | perl(ExtUtils::ParseXS) |
1d0547dc | 36 | pakfire >= 0.9.26-3.1 |
11450127 MT |
37 | end |
38 | ||
39 | build | |
40 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
41 | make %{PARALLELISMFLAGS} | |
42 | end | |
43 | ||
cfd520d3 SS |
44 | make_install_targets = \ |
45 | pure_install | |
11450127 MT |
46 | end |
47 | ||
48 | packages | |
49 | package %{name} | |
cfd520d3 SS |
50 | requires |
51 | perl(:MODULE_COMPAT_%{perl_version}) | |
52 | end | |
53 | end | |
11450127 MT |
54 | |
55 | package %{name}-debuginfo | |
56 | template DEBUGINFO | |
57 | end | |
58 | end |